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.0009387/0.0009389, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007539/0.007539, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1643/0.1643, allocations: 5.382 MB / 296.8 MB, free: 3.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 8 kB / 359.2 MB, free: 1.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1136, allocations: 51.6 MB / 410.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.007375/0.121, allocations: 6.394 MB / 417.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006759/0.1278, allocations: 2.325 MB / 419.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.1304, allocations: 39.81 kB / 419.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.1326, allocations: 409.8 kB / 419.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002831/0.1355, allocations: 401.8 kB / 420.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1368, allocations: 375.5 kB / 420.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.1394, allocations: 2.193 MB / 422.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2587/0.3981, allocations: 2.105 MB / 425 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.3998, allocations: 0.746 MB / 425.7 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.4011, allocations: 1.014 MB / 426.7 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.4013, allocations: 116 kB / 426.9 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.4016, allocations: 134.7 kB / 427 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004128/0.402, allocations: 0.5032 MB / 427.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009178/0.403, allocations: 1.024 MB / 428.5 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.4056, allocations: 3.323 MB / 431.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4056, allocations: 4 kB / 431.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4056, allocations: 0 / 431.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.382e-05/0.4056, allocations: 0 / 431.8 MB, free: 33.62 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.004876/0.4105, allocations: 2.371 MB / 434.2 MB, free: 32.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4106, allocations: 9.469 kB / 434.2 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005097/0.4111, allocations: 252.6 kB / 434.5 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.4135, allocations: 1.49 MB / 436 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.4136, allocations: 154.8 kB / 436.1 MB, free: 31.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/0.4139, allocations: 199.9 kB / 436.3 MB, free: 31.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/0.4182, allocations: 2.682 MB / 439 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.856e-05/0.4182, allocations: 2.625 kB / 439 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.4184, allocations: 87.45 kB / 439.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.791e-05/0.4185, allocations: 85.5 kB / 439.2 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003465/0.422, allocations: 2.243 MB / 441.4 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.4328, allocations: 8.001 MB / 449.4 MB, free: 27.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.4347, allocations: 1.248 MB / 450.7 MB, free: 26.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009065/0.4356, allocations: 0.5209 MB / 451.2 MB, free: 26.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.4356, allocations: 7.5 kB / 451.2 MB, free: 26.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008985/0.4365, allocations: 0.5395 MB / 451.7 MB, free: 26.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 3.386e-06/0.4366, allocations: 0 / 451.7 MB, free: 26.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005053/0.4416, allocations: 1.905 MB / 453.6 MB, free: 25.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.4417, allocations: 141.9 kB / 453.8 MB, free: 25.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.4432, allocations: 1.065 MB / 454.8 MB, free: 25.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.107e-05/0.4433, allocations: 36.98 kB / 454.9 MB, free: 25.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007949/0.4441, allocations: 0.9648 MB / 455.8 MB, free: 24.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.4443, allocations: 233.6 kB / 456.1 MB, free: 24.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.4444, allocations: 86.27 kB / 456.1 MB, free: 24.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.4445, allocations: 348 kB / 456.5 MB, free: 24.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007958/0.4453, allocations: 469.9 kB / 456.9 MB, free: 23.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008682/0.4462, allocations: 0.7471 MB / 457.7 MB, free: 23.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.4478, allocations: 1.278 MB / 459 MB, free: 22.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4478, allocations: 3.062 kB / 459 MB, free: 22.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00251/0.4503, allocations: 1.453 MB / 460.4 MB, free: 22.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.4505, allocations: 376.1 kB / 460.8 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.4506, allocations: 9.938 kB / 460.8 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004673/0.451, allocations: 94.41 kB / 460.9 MB, free: 21.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/0.452, allocations: 252.5 kB / 461.1 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.4532, allocations: 1.475 MB / 462.6 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.4543, allocations: 147.3 kB / 462.8 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/0.4544, allocations: 44.06 kB / 462.8 MB, free: 20.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.4544, allocations: 11.56 kB / 462.8 MB, free: 20.18 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00248/0.4569, allocations: 1.296 MB / 464.1 MB, free: 19.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.4569, allocations: 11.27 kB / 464.1 MB, free: 19.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003864/0.4573, allocations: 92.94 kB / 464.2 MB, free: 19.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009567/0.4583, allocations: 252.8 kB / 464.5 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.4593, allocations: 1.47 MB / 465.9 MB, free: 18.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008545/0.4602, allocations: 127 kB / 466.1 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/0.4603, allocations: 46.78 kB / 466.1 MB, free: 18.25 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.001585/0.4619, allocations: 0.7444 MB / 466.8 MB, free: 17.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.4621, allocations: 116.4 kB / 467 MB, free: 17.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003877/0.466, allocations: 1.448 MB / 468.4 MB, free: 17.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.466, allocations: 11 kB / 468.4 MB, free: 17.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.466, allocations: 0 / 468.4 MB, free: 17.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.466, allocations: 4.906 kB / 468.4 MB, free: 17.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/0.4711, allocations: 2.976 MB / 471.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4712, allocations: 1.344 kB / 471.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/0.4718, allocations: 152.5 kB / 471.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006486/0.4725, allocations: 260 kB / 471.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.4726, allocations: 23.31 kB / 471.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.4736, allocations: 0.83 MB / 472.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4736, allocations: 0 / 472.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/0.477, allocations: 1.858 MB / 474.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.4775, allocations: 277.2 kB / 474.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.4777, allocations: 20.92 kB / 474.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006727/0.4784, allocations: 81.95 kB / 474.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.4785, allocations: 49.47 kB / 474.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/0.4786, allocations: 21.7 kB / 475 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001166/0.4797, allocations: 0.7321 MB / 475.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4798, allocations: 4 kB / 475.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002307/0.4821, allocations: 0.843 MB / 476.5 MB, free: 13.61 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.0002052/0.4823, allocations: 128.3 kB / 476.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003941/0.4862, allocations: 2.09 MB / 478.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4863, allocations: 1.344 kB / 478.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.4873, allocations: 0.5884 MB / 479.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.4888, allocations: 246.7 kB / 479.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/0.4956, allocations: 4.332 MB / 483.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.4968, allocations: 1.706 MB / 485.6 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001168/0.498, allocations: 368.2 kB / 486 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.4982, allocations: 83.02 kB / 486.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4982, allocations: 0 / 486.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of Templates: time 0.02375/0.522, allocations: 13.97 MB / 0.4883 GB, free: 13.5 MB / 366.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: