Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.conf.json 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 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 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) Running command: translateModel(PhotoVoltaics.Examples.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") translateModel(PhotoVoltaics.Examples.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 106.3 kB / 16.41 MB, free: 6.41 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.001796/0.001796, allocations: 189.7 kB / 17.34 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02688/0.02688, allocations: 5.407 MB / 296.6 MB, free: 9.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.91 kB / 410 MB, free: 26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1024, allocations: 50.62 MB / 460.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.007855/0.1103, allocations: 6.91 MB / 467.5 MB, free: 404 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004621/0.1149, allocations: 2.383 MB / 469.9 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.1164, allocations: 43.81 kB / 469.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.1179, allocations: 464.6 kB / 470.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.1198, allocations: 464.8 kB / 470.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.121, allocations: 438.6 kB / 471.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002854/0.1239, allocations: 2.205 MB / 473.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003281/0.1272, allocations: 2.476 MB / 475.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.1287, allocations: 1.083 MB / 477 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.1309, allocations: 1.312 MB / 478.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005986/0.1315, allocations: 312 kB / 478.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006939/0.1322, allocations: 340 kB / 479 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006462/0.1329, allocations: 0.748 MB / 479.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.1342, allocations: 1.275 MB / 481 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.1374, allocations: 3.606 MB / 484.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1374, allocations: 0 / 484.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1374, allocations: 0 / 484.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.452e-05/0.1375, allocations: 4 kB / 484.6 MB, free: 15.17 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.005443/0.143, allocations: 2.773 MB / 487.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.143, allocations: 8.031 kB / 487.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.1435, allocations: 242 kB / 487.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.146, allocations: 1.531 MB / 489.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.1462, allocations: 152.1 kB / 489.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/0.1464, allocations: 200 kB / 489.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004123/0.1506, allocations: 2.662 MB / 492.2 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.252e-05/0.1506, allocations: 3.906 kB / 492.2 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.1508, allocations: 80 kB / 492.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.738e-05/0.1509, allocations: 84.05 kB / 492.3 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003629/0.1545, allocations: 2.21 MB / 494.5 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01129/0.1658, allocations: 7.865 MB / 0.4906 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.1678, allocations: 1.208 MB / 0.4918 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008629/0.1686, allocations: 0.4944 MB / 0.4923 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.1687, allocations: 12.56 kB / 0.4923 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008994/0.1696, allocations: 0.5311 MB / 0.4928 GB, free: 10.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=67): time 2.615e-06/0.1696, allocations: 8 kB / 0.4928 GB, free: 10.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=67): time 0.004948/0.1746, allocations: 1.797 MB / 0.4946 GB, free: 8.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.1747, allocations: 145.1 kB / 0.4947 GB, free: 8.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.176, allocations: 1.06 MB / 0.4958 GB, free: 7.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.176, allocations: 37.7 kB / 0.4958 GB, free: 7.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007362/0.1768, allocations: 0.9688 MB / 0.4967 GB, free: 6.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.177, allocations: 232.7 kB / 0.497 GB, free: 6.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.1773, allocations: 186.5 kB / 0.4971 GB, free: 5.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1774, allocations: 345.9 kB / 0.4975 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008302/0.1783, allocations: 468.5 kB / 0.4979 GB, free: 5.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000984/0.1792, allocations: 0.7203 MB / 0.4986 GB, free: 4.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.1811, allocations: 1.243 MB / 0.4998 GB, free: 2.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.1811, allocations: 4 kB / 0.4998 GB, free: 2.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002583/0.1837, allocations: 1.401 MB / 0.5012 GB, free: 1.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.377e-05/0.1837, allocations: 37.7 kB / 0.5012 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.1838, allocations: 8 kB / 0.5012 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004695/0.1842, allocations: 88.78 kB / 0.5013 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009882/0.1852, allocations: 247.7 kB / 0.5016 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2437/0.4289, allocations: 1.583 MB / 0.5031 GB, free: 47.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.4305, allocations: 146.2 kB / 0.5032 GB, free: 47.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003537/0.4308, allocations: 41.33 kB / 0.5033 GB, free: 47.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002782/0.4336, allocations: 0.9981 MB / 0.5043 GB, free: 47.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001292/0.435, allocations: 0.7151 MB / 0.505 GB, free: 46.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002177/0.4372, allocations: 1.227 MB / 0.5062 GB, free: 46.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.742e-05/0.4372, allocations: 2.406 kB / 0.5062 GB, free: 46.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.003342/0.4405, allocations: 1.382 MB / 0.5075 GB, free: 45.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.4406, allocations: 39.62 kB / 0.5076 GB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/0.4406, allocations: 9.281 kB / 0.5076 GB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/0.4411, allocations: 91.31 kB / 0.5076 GB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.4422, allocations: 243 kB / 0.5079 GB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.4436, allocations: 1.577 MB / 0.5094 GB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.4447, allocations: 119.8 kB / 0.5095 GB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.4449, allocations: 46.95 kB / 0.5096 GB, free: 44.33 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 12 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integratorOmega.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 (117): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * 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.0004147/0.4453, allocations: 277.5 kB / 0.5098 GB, free: 44.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/0.4456, allocations: 110.7 kB / 0.5099 GB, free: 44.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004139/0.4498, allocations: 1.403 MB / 0.5113 GB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.4498, allocations: 7.75 kB / 0.5113 GB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.4498, allocations: 0.8125 kB / 0.5113 GB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4499, allocations: 2.531 kB / 0.5113 GB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007212/0.4571, allocations: 2.936 MB / 0.5142 GB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.4571, allocations: 0 / 0.5142 GB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/0.4579, allocations: 133.4 kB / 0.5143 GB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007774/0.4587, allocations: 258.9 kB / 0.5146 GB, free: 42.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.866e-05/0.4588, allocations: 30.8 kB / 0.5146 GB, free: 42.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.4599, allocations: 0.8171 MB / 0.5154 GB, free: 41.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.46, allocations: 0.6094 kB / 0.5154 GB, free: 41.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/0.4635, allocations: 1.793 MB / 0.5171 GB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005932/0.4641, allocations: 275.6 kB / 0.5174 GB, free: 40.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.4644, allocations: 20.84 kB / 0.5174 GB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008716/0.4653, allocations: 72.41 kB / 0.5175 GB, free: 40.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.4655, allocations: 50.8 kB / 0.5175 GB, free: 40.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.984e-05/0.4656, allocations: 19.97 kB / 0.5176 GB, free: 40.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001529/0.4671, allocations: 0.7355 MB / 0.5183 GB, free: 40.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4671, allocations: 0 / 0.5183 GB, free: 40.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002974/0.4701, allocations: 0.8401 MB / 0.5191 GB, free: 40.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (converter.integrator.y,converter.integratorOmega.y,converter.firstOrder[1].y,converter.firstOrder[2].y,converter.firstOrder[3].y) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002436/0.4703, allocations: 128.5 kB / 0.5192 GB, free: 39.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003873/0.4742, allocations: 2.045 MB / 0.5212 GB, free: 39.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.4743, allocations: 0 / 0.5212 GB, free: 39.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.4754, allocations: 0.5745 MB / 0.5218 GB, free: 38.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.4772, allocations: 263.4 kB / 0.522 GB, free: 38.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006637/0.4838, allocations: 3.359 MB / 0.5253 GB, free: 37.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/0.4853, allocations: 1.682 MB / 0.527 GB, free: 36.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/0.4858, allocations: 90.44 kB / 0.527 GB, free: 36.22 MB / 382.1 MB Notification: Performance of SimCode: time 1.093e-06/0.4858, allocations: 0 / 0.527 GB, free: 36.22 MB / 382.1 MB Notification: Performance of Templates: time 0.03707/0.5229, allocations: 30.14 MB / 0.5565 GB, free: 6.43 MB / 382.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe 2>&1)