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.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001263/0.001263, allocations: 193.7 kB / 16.14 MB, free: 6.703 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.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1625/0.1625, allocations: 5.388 MB / 295.3 MB, free: 3.008 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 59.91 kB / 356.7 MB, free: 2.074 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1193, allocations: 50.62 MB / 407.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.008048/0.1273, allocations: 6.891 MB / 414.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004943/0.1323, allocations: 2.36 MB / 416.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.1336, allocations: 39.81 kB / 416.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.1348, allocations: 393.8 kB / 417 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.1362, allocations: 397.7 kB / 417.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007946/0.137, allocations: 379.6 kB / 417.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.1389, allocations: 2.197 MB / 420 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.1412, allocations: 2.131 MB / 422.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.205/0.3461, allocations: 0.9139 MB / 423 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.3485, allocations: 1.244 MB / 424.3 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004598/0.349, allocations: 192.3 kB / 424.5 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005385/0.3495, allocations: 204.1 kB / 424.7 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005121/0.35, allocations: 0.6212 MB / 425.3 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.3512, allocations: 1.147 MB / 426.4 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.3537, allocations: 3.46 MB / 429.9 MB, free: 36.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3538, allocations: 0 / 429.9 MB, free: 36.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3538, allocations: 0 / 429.9 MB, free: 36.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.408e-05/0.3539, allocations: 2.688 kB / 429.9 MB, free: 36.42 MB / 350.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.005466/0.3593, allocations: 2.76 MB / 432.6 MB, free: 35.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3594, allocations: 9.594 kB / 432.7 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005189/0.3599, allocations: 251 kB / 432.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.3623, allocations: 1.479 MB / 434.4 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.858e-05/0.3623, allocations: 157.6 kB / 434.5 MB, free: 34.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/0.3626, allocations: 199.8 kB / 434.7 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003852/0.3665, allocations: 2.67 MB / 437.4 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/0.3665, allocations: 0 / 437.4 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.3667, allocations: 82.38 kB / 437.5 MB, free: 33.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.351e-05/0.3668, allocations: 84.7 kB / 437.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00343/0.3702, allocations: 2.206 MB / 439.8 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.3808, allocations: 7.955 MB / 447.7 MB, free: 28.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.3825, allocations: 1.207 MB / 448.9 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008336/0.3833, allocations: 0.4998 MB / 449.4 MB, free: 27.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/0.3834, allocations: 17.77 kB / 449.4 MB, free: 27.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009365/0.3844, allocations: 0.5191 MB / 450 MB, free: 27.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 3.887e-06/0.3844, allocations: 0 / 450 MB, free: 27.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005496/0.3899, allocations: 1.804 MB / 451.8 MB, free: 26.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.39, allocations: 152.4 kB / 451.9 MB, free: 26.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.3921, allocations: 1.061 MB / 453 MB, free: 26.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.492e-05/0.3922, allocations: 43.31 kB / 453 MB, free: 26.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.3933, allocations: 0.9598 MB / 454 MB, free: 25.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.3935, allocations: 235.2 kB / 454.2 MB, free: 25.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003998/0.394, allocations: 181.7 kB / 454.4 MB, free: 25.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3941, allocations: 338.8 kB / 454.7 MB, free: 24.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008951/0.395, allocations: 462.1 kB / 455.2 MB, free: 24.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.396, allocations: 0.7298 MB / 455.9 MB, free: 24.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.3979, allocations: 1.241 MB / 457.1 MB, free: 23.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-05/0.398, allocations: 3.094 kB / 457.1 MB, free: 23.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0029/0.4009, allocations: 1.412 MB / 458.6 MB, free: 23.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.4009, allocations: 42.58 kB / 458.6 MB, free: 23.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.401, allocations: 9.344 kB / 458.6 MB, free: 23.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/0.4015, allocations: 89.11 kB / 458.7 MB, free: 23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.4025, allocations: 244.6 kB / 458.9 MB, free: 22.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.4039, allocations: 1.475 MB / 460.4 MB, free: 21.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.4052, allocations: 145.7 kB / 460.5 MB, free: 21.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.4053, allocations: 41.78 kB / 460.6 MB, free: 21.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001893/0.4072, allocations: 0.9974 MB / 461.6 MB, free: 21.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009418/0.4081, allocations: 0.7133 MB / 462.3 MB, free: 20.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001933/0.4101, allocations: 1.223 MB / 463.5 MB, free: 19.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-05/0.4101, allocations: 3.188 kB / 463.5 MB, free: 19.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.002967/0.4131, allocations: 1.383 MB / 464.9 MB, free: 19.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.4131, allocations: 36.78 kB / 464.9 MB, free: 19.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.4132, allocations: 8.25 kB / 465 MB, free: 19.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004647/0.4136, allocations: 88.23 kB / 465 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009861/0.4146, allocations: 242.6 kB / 465.3 MB, free: 19.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.4159, allocations: 1.486 MB / 466.8 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.417, allocations: 120.4 kB / 466.9 MB, free: 17.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.4172, allocations: 43.84 kB / 466.9 MB, free: 17.83 MB / 350.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.0003256/0.4175, allocations: 269.2 kB / 467.2 MB, free: 17.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/0.4178, allocations: 124 kB / 467.3 MB, free: 17.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/0.4219, allocations: 1.39 MB / 468.7 MB, free: 17.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.4219, allocations: 8.547 kB / 468.7 MB, free: 17.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4219, allocations: 0 / 468.7 MB, free: 17.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.4219, allocations: 6.328 kB / 468.7 MB, free: 17.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006368/0.4283, allocations: 2.941 MB / 471.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.4283, allocations: 0 / 471.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006585/0.429, allocations: 134.3 kB / 471.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006233/0.4296, allocations: 254.5 kB / 472 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-05/0.4297, allocations: 19.03 kB / 472.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000981/0.4307, allocations: 0.8195 MB / 472.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4307, allocations: 0.75 kB / 472.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/0.4344, allocations: 1.799 MB / 474.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007278/0.4351, allocations: 280.6 kB / 474.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/0.4355, allocations: 16.48 kB / 475 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008669/0.4363, allocations: 77.33 kB / 475 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.4365, allocations: 44.5 kB / 475.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.4366, allocations: 20.95 kB / 475.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001582/0.4382, allocations: 0.7293 MB / 475.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4382, allocations: 0 / 475.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003036/0.4412, allocations: 0.8365 MB / 476.7 MB, free: 13.43 MB / 350.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.0002506/0.4415, allocations: 137.1 kB / 476.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004229/0.4457, allocations: 2.04 MB / 478.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4457, allocations: 0.5625 kB / 478.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.4468, allocations: 0.5706 MB / 479.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.4485, allocations: 240.7 kB / 479.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007589/0.4561, allocations: 4.275 MB / 483.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.4578, allocations: 1.71 MB / 485.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001217/0.459, allocations: 365.9 kB / 486 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.4594, allocations: 86.22 kB / 486.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4594, allocations: 0 / 486.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of Templates: time 0.02535/0.4847, allocations: 14.11 MB / 0.4885 GB, free: 12.63 MB / 366.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)