Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02892/0.02892, allocations: 5.392 MB / 21.7 MB, free: 1.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 114.7 kB / 23.7 MB, free: 0.9297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 197.9 kB / 25.83 MB, free: 4.68 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 250.7 MB, free: 8.453 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009928/0.009928, allocations: 2.318 MB / 304.4 MB, free: 6.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001893, allocations: 99.84 kB / 420.3 MB, free: 22.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.09399, allocations: 51.21 MB / 471.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.008692/0.1027, allocations: 6.854 MB / 478.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00671/0.1095, allocations: 3.947 MB / 482.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.1105, allocations: 20 kB / 482.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003167/0.1137, allocations: 1.158 MB / 483.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002594/0.1163, allocations: 0.8506 MB / 484.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.1183, allocations: 0.5505 MB / 484.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.1203, allocations: 1.409 MB / 486.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.1221, allocations: 1.017 MB / 487.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.1232, allocations: 0.5642 MB / 487.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.1244, allocations: 0.6808 MB / 488.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006378/0.125, allocations: 144 kB / 488.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.1267, allocations: 439.7 kB / 489.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005792/0.1273, allocations: 314.9 kB / 489.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.1286, allocations: 0.6375 MB / 490.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002767/0.1314, allocations: 1.803 MB / 491.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1314, allocations: 0 / 491.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.1314, allocations: 0 / 491.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.315e-05/0.1314, allocations: 3.938 kB / 491.9 MB, free: 14.8 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.005028/0.1365, allocations: 1.802 MB / 493.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1365, allocations: 8.031 kB / 493.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.1388, allocations: 379.2 kB / 494.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.1408, allocations: 0.8321 MB / 494.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.1409, allocations: 82.08 kB / 495 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/0.1412, allocations: 108 kB / 495.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.1438, allocations: 1.177 MB / 496.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.1439, allocations: 3.984 kB / 496.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.144, allocations: 44 kB / 496.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.144, allocations: 24 kB / 496.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/0.1464, allocations: 1.07 MB / 497.4 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006902/0.1533, allocations: 4.341 MB / 0.49 GB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.156, allocations: 1.74 MB / 0.4917 GB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006494/0.1566, allocations: 325.3 kB / 0.492 GB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.374e-05/0.1567, allocations: 97.64 kB / 0.4921 GB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008867/0.1576, allocations: 465.7 kB / 0.4925 GB, free: 1.699 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 4.047e-06/0.1577, allocations: 0 / 0.4925 GB, free: 1.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.005768/0.1634, allocations: 1.596 MB / 0.4941 GB, free: 64 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.1636, allocations: 222.2 kB / 0.4943 GB, free: 15.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/0.1645, allocations: 0.6486 MB / 0.4949 GB, free: 15.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.1646, allocations: 41.7 kB / 0.495 GB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.165, allocations: 0.5218 MB / 0.4955 GB, free: 14.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.1652, allocations: 228.8 kB / 0.4957 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.1655, allocations: 186.4 kB / 0.4959 GB, free: 14.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1657, allocations: 394.7 kB / 0.4963 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/0.1664, allocations: 301.8 kB / 0.4966 GB, free: 13.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008079/0.1672, allocations: 0.5347 MB / 0.4971 GB, free: 12.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.1687, allocations: 0.936 MB / 0.498 GB, free: 11.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.1687, allocations: 0 / 0.498 GB, free: 11.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002382/0.1711, allocations: 1.121 MB / 0.4991 GB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.1712, allocations: 59.41 kB / 0.4991 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.1712, allocations: 8 kB / 0.4992 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004924/0.1717, allocations: 85.06 kB / 0.4992 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/0.1725, allocations: 231.5 kB / 0.4995 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.1742, allocations: 1.581 MB / 0.501 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/0.175, allocations: 115.2 kB / 0.5011 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/0.1751, allocations: 43.98 kB / 0.5011 GB, free: 8.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006408/0.1758, allocations: 343.1 kB / 0.5015 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.176, allocations: 79.06 kB / 0.5016 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.1782, allocations: 1.007 MB / 0.5025 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.1782, allocations: 12 kB / 0.5025 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1782, allocations: 3.938 kB / 0.5025 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.1782, allocations: 3.984 kB / 0.5026 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006227/0.1845, allocations: 2.302 MB / 0.5048 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.1845, allocations: 7.922 kB / 0.5048 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.1849, allocations: 95.89 kB / 0.5049 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000875/0.1858, allocations: 326.3 kB / 0.5052 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.106e-05/0.1859, allocations: 31.97 kB / 0.5052 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.1873, allocations: 0.8935 MB / 0.5061 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1873, allocations: 0 / 0.5061 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.1903, allocations: 1.402 MB / 0.5075 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/0.1907, allocations: 228 kB / 0.5077 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.1909, allocations: 16 kB / 0.5077 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000642/0.1916, allocations: 47.95 kB / 0.5078 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.1917, allocations: 40.52 kB / 0.5078 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.469e-05/0.1918, allocations: 35.95 kB / 0.5078 GB, free: 1.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007157/0.1925, allocations: 463 kB / 0.5083 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1925, allocations: 3.938 kB / 0.5083 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001113/0.1936, allocations: 319 kB / 0.5086 GB, free: 0.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001532/0.1952, allocations: 0.6608 MB / 0.5092 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2052/0.4004, allocations: 0.9896 MB / 0.5102 GB, free: 46.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4004, allocations: 0 / 0.5102 GB, free: 46.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009479/0.4014, allocations: 0.4912 MB / 0.5107 GB, free: 46.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009652/0.4024, allocations: 151.9 kB / 0.5108 GB, free: 46.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.4055, allocations: 1.776 MB / 0.5126 GB, free: 45.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.4059, allocations: 1.021 MB / 0.5136 GB, free: 45.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.4062, allocations: 92.2 kB / 0.5136 GB, free: 45.1 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4062, allocations: 0 / 0.5136 GB, free: 45.1 MB / 382.1 MB Notification: Performance of Templates: time 0.02166/0.4279, allocations: 17.36 MB / 0.5306 GB, free: 38.81 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1)