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.001642/0.001643, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001878/0.001878, allocations: 187 kB / 17.34 MB, free: 5.734 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02774/0.02774, allocations: 5.397 MB / 296.6 MB, free: 9.465 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.89 kB / 410 MB, free: 26.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09304, allocations: 50.64 MB / 460.6 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.008363/0.1014, allocations: 6.91 MB / 467.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005125/0.1066, allocations: 2.379 MB / 469.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.108, allocations: 43.81 kB / 469.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.1095, allocations: 472.5 kB / 470.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.1118, allocations: 456.9 kB / 470.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.1131, allocations: 434.1 kB / 471.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003057/0.1162, allocations: 2.205 MB / 473.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/0.119, allocations: 2.476 MB / 475.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.1204, allocations: 1.075 MB / 477 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.1222, allocations: 1.315 MB / 478.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005273/0.1228, allocations: 312 kB / 478.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000602/0.1234, allocations: 336 kB / 479 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006152/0.124, allocations: 0.748 MB / 479.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.1254, allocations: 1.279 MB / 481 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003453/0.1288, allocations: 3.614 MB / 484.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.1289, allocations: 0 / 484.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1289, allocations: 3.938 kB / 484.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.965e-05/0.129, allocations: 0 / 484.6 MB, free: 15.29 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.0063/0.1353, allocations: 2.761 MB / 487.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1353, allocations: 12.03 kB / 487.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005712/0.1359, allocations: 246 kB / 487.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.1389, allocations: 1.523 MB / 489.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.139, allocations: 152.1 kB / 489.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.1393, allocations: 208 kB / 489.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00456/0.1439, allocations: 2.658 MB / 492.2 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.303e-05/0.144, allocations: 11.84 kB / 492.2 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.1441, allocations: 83.98 kB / 492.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.292e-05/0.1442, allocations: 84.03 kB / 492.3 MB, free: 7.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003969/0.1482, allocations: 2.21 MB / 494.5 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.1606, allocations: 7.861 MB / 0.4906 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.1626, allocations: 1.204 MB / 0.4918 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009009/0.1635, allocations: 0.4944 MB / 0.4923 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.1636, allocations: 12.55 kB / 0.4923 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009137/0.1645, allocations: 0.5312 MB / 0.4928 GB, free: 10.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=67): time 2.895e-06/0.1645, allocations: 0 / 0.4928 GB, free: 10.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=67): time 0.005146/0.1697, allocations: 1.809 MB / 0.4946 GB, free: 8.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.1698, allocations: 145.1 kB / 0.4947 GB, free: 8.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.1714, allocations: 1.056 MB / 0.4958 GB, free: 7.551 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.647e-05/0.1715, allocations: 41.69 kB / 0.4958 GB, free: 7.504 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007984/0.1723, allocations: 0.9688 MB / 0.4967 GB, free: 6.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.1725, allocations: 224.8 kB / 0.497 GB, free: 6.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.1728, allocations: 186.5 kB / 0.4971 GB, free: 6.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1729, allocations: 349.9 kB / 0.4975 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008451/0.1738, allocations: 460.5 kB / 0.4979 GB, free: 5.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.1748, allocations: 0.7242 MB / 0.4986 GB, free: 4.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.1767, allocations: 1.243 MB / 0.4998 GB, free: 3.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.1767, allocations: 4 kB / 0.4998 GB, free: 3.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002819/0.1795, allocations: 1.401 MB / 0.5012 GB, free: 1.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.1796, allocations: 41.88 kB / 0.5012 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.1796, allocations: 12 kB / 0.5012 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004708/0.1801, allocations: 84.78 kB / 0.5013 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009643/0.1811, allocations: 251.6 kB / 0.5016 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.244/0.4251, allocations: 1.578 MB / 0.5031 GB, free: 47.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.4265, allocations: 147.6 kB / 0.5032 GB, free: 47.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.4266, allocations: 46.25 kB / 0.5033 GB, free: 47.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002042/0.4287, allocations: 0.9956 MB / 0.5043 GB, free: 47.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001004/0.4297, allocations: 0.7173 MB / 0.505 GB, free: 47.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001934/0.4316, allocations: 1.224 MB / 0.5062 GB, free: 46.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.554e-06/0.4316, allocations: 4.625 kB / 0.5062 GB, free: 46.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.002988/0.4346, allocations: 1.379 MB / 0.5075 GB, free: 46.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.4347, allocations: 36.72 kB / 0.5075 GB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.4347, allocations: 7.812 kB / 0.5076 GB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004449/0.4352, allocations: 94.98 kB / 0.5076 GB, free: 46.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009991/0.4362, allocations: 244.8 kB / 0.5079 GB, free: 46.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.4374, allocations: 1.576 MB / 0.5094 GB, free: 44.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009944/0.4384, allocations: 115.9 kB / 0.5095 GB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.069e-05/0.4385, allocations: 45.95 kB / 0.5096 GB, free: 44.71 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.0003521/0.4389, allocations: 285.5 kB / 0.5098 GB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.4391, allocations: 111.8 kB / 0.51 GB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.4428, allocations: 1.397 MB / 0.5113 GB, free: 43.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.4428, allocations: 7.938 kB / 0.5113 GB, free: 43.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4428, allocations: 3.625 kB / 0.5113 GB, free: 43.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.4429, allocations: 3.094 kB / 0.5113 GB, free: 43.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005609/0.4485, allocations: 2.927 MB / 0.5142 GB, free: 42.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4485, allocations: 0 / 0.5142 GB, free: 42.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000727/0.4492, allocations: 137.2 kB / 0.5143 GB, free: 42.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007199/0.45, allocations: 253.8 kB / 0.5146 GB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/0.4501, allocations: 22.55 kB / 0.5146 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.4511, allocations: 0.8303 MB / 0.5154 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4511, allocations: 0 / 0.5154 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003275/0.4544, allocations: 1.796 MB / 0.5171 GB, free: 41.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.455, allocations: 277.8 kB / 0.5174 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.4551, allocations: 23.75 kB / 0.5174 GB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006487/0.4558, allocations: 65.92 kB / 0.5175 GB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.4559, allocations: 51.52 kB / 0.5175 GB, free: 41.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.456, allocations: 21.62 kB / 0.5176 GB, free: 41.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001083/0.4571, allocations: 0.7292 MB / 0.5183 GB, free: 40.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4571, allocations: 0 / 0.5183 GB, free: 40.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0021/0.4592, allocations: 0.8416 MB / 0.5191 GB, free: 40.43 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.0002033/0.4594, allocations: 118.8 kB / 0.5192 GB, free: 40.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003438/0.4628, allocations: 2.053 MB / 0.5212 GB, free: 39.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4629, allocations: 1.938 kB / 0.5212 GB, free: 39.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009999/0.4639, allocations: 0.5721 MB / 0.5218 GB, free: 39.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.4653, allocations: 270.4 kB / 0.522 GB, free: 39.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005352/0.4707, allocations: 3.365 MB / 0.5253 GB, free: 37.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000953/0.4717, allocations: 1.68 MB / 0.527 GB, free: 36.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/0.4721, allocations: 87.3 kB / 0.527 GB, free: 36.61 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4721, allocations: 0 / 0.527 GB, free: 36.61 MB / 382.1 MB Notification: Performance of Templates: time 0.03052/0.5026, allocations: 30.38 MB / 0.5567 GB, free: 6.68 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)