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.001176/0.001176, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001297/0.001297, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1966/0.1966, allocations: 5.364 MB / 296.4 MB, free: 3.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 8 kB / 358.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1233, allocations: 51.6 MB / 410.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.009315/0.1327, allocations: 5.73 MB / 415.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00646/0.1393, allocations: 2.256 MB / 418 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.141, allocations: 43.75 kB / 418.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.1427, allocations: 358 kB / 418.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.1453, allocations: 410.7 kB / 418.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.1465, allocations: 279.5 kB / 419.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00277/0.1493, allocations: 1.358 MB / 420.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002862/0.1522, allocations: 1.679 MB / 422.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.1535, allocations: 0.7121 MB / 422.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.1554, allocations: 0.9219 MB / 423.8 MB, free: 176 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003129/0.1558, allocations: 116 kB / 423.9 MB, free: 60 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.254/0.4098, allocations: 130 kB / 424 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009124/0.4108, allocations: 492.6 kB / 424.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007628/0.4116, allocations: 425 kB / 424.9 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.4142, allocations: 2.856 MB / 427.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4142, allocations: 3.938 kB / 427.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4142, allocations: 0 / 427.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.438e-05/0.4142, allocations: 0 / 427.8 MB, free: 35.79 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.004894/0.4191, allocations: 2.39 MB / 430.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4192, allocations: 9.875 kB / 430.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/0.4198, allocations: 245.1 kB / 430.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.4225, allocations: 1.45 MB / 431.9 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.4226, allocations: 155.7 kB / 432 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/0.4229, allocations: 200.3 kB / 432.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004826/0.4277, allocations: 2.651 MB / 434.9 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.692e-05/0.4278, allocations: 3.188 kB / 434.9 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.428, allocations: 83.89 kB / 435 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.102e-05/0.4281, allocations: 84.97 kB / 435 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003704/0.4318, allocations: 2.227 MB / 437.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01292/0.4447, allocations: 7.999 MB / 445.3 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.447, allocations: 1.243 MB / 446.5 MB, free: 31.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.594e-05/0.447, allocations: 9.594 kB / 446.5 MB, free: 31.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009208/0.448, allocations: 0.5422 MB / 447.1 MB, free: 31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 4.038e-06/0.448, allocations: 0 / 447.1 MB, free: 31 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.00515/0.4532, allocations: 1.911 MB / 449 MB, free: 30.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.4532, allocations: 151.4 kB / 449.1 MB, free: 30.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.455, allocations: 1.06 MB / 450.2 MB, free: 29.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.4551, allocations: 36.86 kB / 450.2 MB, free: 29.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000931/0.4561, allocations: 0.9637 MB / 451.2 MB, free: 28.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.4563, allocations: 232.5 kB / 451.4 MB, free: 28.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.4563, allocations: 19.06 kB / 451.4 MB, free: 28.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4564, allocations: 342.3 kB / 451.8 MB, free: 28.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007751/0.4572, allocations: 475 kB / 452.2 MB, free: 28.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008818/0.4581, allocations: 0.7379 MB / 453 MB, free: 27.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009013/0.459, allocations: 0.5926 MB / 453.5 MB, free: 27.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/0.4591, allocations: 3.125 kB / 453.5 MB, free: 27.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002561/0.4616, allocations: 1.439 MB / 455 MB, free: 27.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000753/0.4624, allocations: 3.426 MB / 458.4 MB, free: 23.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.4624, allocations: 12.33 kB / 458.4 MB, free: 23.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005099/0.4629, allocations: 93.95 kB / 458.5 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009908/0.4639, allocations: 253.3 kB / 458.8 MB, free: 23.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.4652, allocations: 1.479 MB / 460.2 MB, free: 22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.4664, allocations: 157 kB / 460.4 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.349e-05/0.4665, allocations: 45.3 kB / 460.4 MB, free: 21.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4665, allocations: 6.438 kB / 460.4 MB, free: 21.92 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002455/0.469, allocations: 1.302 MB / 461.8 MB, free: 21.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.469, allocations: 9.031 kB / 461.8 MB, free: 21.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003793/0.4694, allocations: 83.58 kB / 461.8 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008966/0.4703, allocations: 250.9 kB / 462.1 MB, free: 21.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.4715, allocations: 1.477 MB / 463.6 MB, free: 20.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009629/0.4725, allocations: 131.6 kB / 463.7 MB, free: 20.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.4725, allocations: 41.19 kB / 463.7 MB, free: 20 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 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001336/0.4739, allocations: 0.7558 MB / 464.5 MB, free: 19.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.4741, allocations: 112.8 kB / 464.6 MB, free: 19.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003593/0.4777, allocations: 1.457 MB / 466.1 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.4777, allocations: 5.25 kB / 466.1 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4777, allocations: 4.953 kB / 466.1 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4777, allocations: 3.422 kB / 466.1 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005698/0.4834, allocations: 2.976 MB / 469 MB, free: 17.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4835, allocations: 1.5 kB / 469 MB, free: 17.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006629/0.4841, allocations: 141 kB / 469.2 MB, free: 17.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006274/0.4848, allocations: 262.6 kB / 469.4 MB, free: 17.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.949e-05/0.4848, allocations: 24.77 kB / 469.5 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009556/0.4858, allocations: 0.8415 MB / 470.3 MB, free: 16.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4858, allocations: 1 kB / 470.3 MB, free: 16.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00357/0.4894, allocations: 1.875 MB / 472.2 MB, free: 16.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007621/0.4902, allocations: 285.3 kB / 472.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.4904, allocations: 16.64 kB / 472.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/0.4911, allocations: 85.22 kB / 472.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.4912, allocations: 44.45 kB / 472.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/0.4913, allocations: 21 kB / 472.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001372/0.4927, allocations: 0.7205 MB / 473.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4927, allocations: 0.9062 kB / 473.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002871/0.4956, allocations: 0.8477 MB / 474.2 MB, free: 15.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002828/0.4959, allocations: 129.3 kB / 474.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004682/0.5006, allocations: 2.089 MB / 476.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.5006, allocations: 2 kB / 476.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.5018, allocations: 0.5933 MB / 477 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.5031, allocations: 244.5 kB / 477.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00747/0.5106, allocations: 4.111 MB / 481.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/0.5124, allocations: 1.741 MB / 483.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001425/0.5138, allocations: 372.2 kB / 483.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.5141, allocations: 81.66 kB / 483.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5141, allocations: 3.375 kB / 483.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Templates: time 0.02618/0.5403, allocations: 13.59 MB / 497.1 MB, free: 2.102 MB / 350.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: