Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009097/0.0009097, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009517/0.0009517, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.01743/0.01743, allocations: 4.216 MB / 264.2 MB, free: 8.934 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 339.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.325e-05, allocations: 2.312 kB / 339.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01038/0.01041, allocations: 9.805 MB / 348.9 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006144/0.01656, allocations: 3.511 MB / 352.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.01796, allocations: 79.62 kB / 352.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003856/0.02182, allocations: 3.406 MB / 355.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.02443, allocations: 0.9004 MB / 356.8 MB, free: 9.508 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.02622, allocations: 1.075 MB / 357.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004693/0.03091, allocations: 4.395 MB / 362.2 MB, free: 4.016 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008292/0.0392, allocations: 6.567 MB / 368.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004393/0.0436, allocations: 3.768 MB / 372.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003748/0.04734, allocations: 2.488 MB / 375.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.04881, allocations: 0.707 MB / 375.8 MB, free: 6.391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.05098, allocations: 1.023 MB / 376.8 MB, free: 5.367 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.05201, allocations: 1.356 MB / 378.1 MB, free: 4.008 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.05466, allocations: 1.735 MB / 379.9 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005405/0.06007, allocations: 4.511 MB / 384.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.06007, allocations: 0 / 384.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.06007, allocations: 0 / 384.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001833/0.06026, allocations: 0 / 384.4 MB, free: 13.75 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.009191/0.06945, allocations: 5.697 MB / 390.1 MB, free: 7.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.0695, allocations: 8.031 kB / 390.1 MB, free: 7.969 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005282/0.07478, allocations: 2.078 MB / 392.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003833/0.07861, allocations: 2.734 MB / 394.9 MB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.07879, allocations: 332.4 kB / 395.2 MB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000545/0.07934, allocations: 419.9 kB / 395.6 MB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006485/0.08582, allocations: 3.567 MB / 399.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-05/0.08589, allocations: 11.89 kB / 399.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002804/0.08617, allocations: 176 kB / 399.4 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.08633, allocations: 203.9 kB / 399.6 MB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004019/0.09035, allocations: 1.693 MB / 401.3 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02457/0.1149, allocations: 18.16 MB / 419.4 MB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003144/0.1181, allocations: 1.674 MB / 421.1 MB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006614/0.1187, allocations: 398.9 kB / 421.5 MB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.1188, allocations: 40.97 kB / 421.5 MB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00069/0.1195, allocations: 0.4906 MB / 422 MB, free: 7.312 MB / 394.7 MB Notification: Performance of pre-optimization done (n=106): time 3.277e-06/0.1195, allocations: 0 / 422 MB, free: 7.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.002791/0.1223, allocations: 1.181 MB / 423.2 MB, free: 6.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.1224, allocations: 153.5 kB / 423.4 MB, free: 5.922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.1248, allocations: 1.731 MB / 425.1 MB, free: 4.164 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/0.1249, allocations: 45.7 kB / 425.1 MB, free: 4.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.1267, allocations: 2.134 MB / 427.3 MB, free: 1.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.127, allocations: 408.8 kB / 427.7 MB, free: 1.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007534/0.1277, allocations: 0.6084 MB / 428.3 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1279, allocations: 476.8 kB / 428.7 MB, free: 480 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007433/0.1286, allocations: 382.4 kB / 429.1 MB, free: 88 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.1304, allocations: 2.006 MB / 431.1 MB, free: 13.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/0.133, allocations: 2.568 MB / 433.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.144e-05/0.133, allocations: 12 kB / 433.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.00371/0.1367, allocations: 2.179 MB / 435.9 MB, free: 7.859 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.343e-05/0.1368, allocations: 49.69 kB / 435.9 MB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.262e-05/0.1368, allocations: 36 kB / 436 MB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.1375, allocations: 127.8 kB / 436.1 MB, free: 7.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.139, allocations: 0.5966 MB / 436.7 MB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.1405, allocations: 2.038 MB / 438.7 MB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.1419, allocations: 361.7 kB / 439.1 MB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.1421, allocations: 136 kB / 439.2 MB, free: 4.387 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.001065/0.1432, allocations: 361.3 kB / 439.6 MB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.1435, allocations: 214.9 kB / 439.8 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.1452, allocations: 1.069 MB / 440.8 MB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001163/0.1464, allocations: 0.7804 MB / 441.6 MB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1464, allocations: 4 kB / 441.6 MB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.1464, allocations: 7.969 kB / 441.6 MB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2043/0.3507, allocations: 3.983 MB / 445.6 MB, free: 117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.3507, allocations: 6.312 kB / 445.6 MB, free: 117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.3513, allocations: 202 kB / 445.8 MB, free: 117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003857/0.3517, allocations: 259.6 kB / 446.1 MB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.15e-05/0.3518, allocations: 40.27 kB / 446.1 MB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.3536, allocations: 1.063 MB / 447.2 MB, free: 116 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3536, allocations: 0 / 447.2 MB, free: 116 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.3564, allocations: 1.528 MB / 448.7 MB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006677/0.357, allocations: 279.5 kB / 449 MB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/0.3573, allocations: 24.78 kB / 449 MB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/0.358, allocations: 74.2 kB / 449.1 MB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.3581, allocations: 76.03 kB / 449.2 MB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.3582, allocations: 40.55 kB / 449.2 MB, free: 115.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001309/0.3595, allocations: 0.8123 MB / 450 MB, free: 115.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3595, allocations: 0 / 450 MB, free: 115.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002978/0.3625, allocations: 0.9613 MB / 451 MB, free: 115.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_p.reference.gamma) * 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 (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005098/0.363, allocations: 192.4 kB / 451.2 MB, free: 115.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.3655, allocations: 1.622 MB / 452.8 MB, free: 114.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.3655, allocations: 0 / 452.8 MB, free: 114.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006659/0.3662, allocations: 491.4 kB / 453.3 MB, free: 114.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.3675, allocations: 397.6 kB / 453.6 MB, free: 114.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00898/0.3765, allocations: 5.515 MB / 459.2 MB, free: 112.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.3776, allocations: 1.103 MB / 460.3 MB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001502/0.3791, allocations: 0.7866 MB / 461 MB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.3794, allocations: 141.1 kB / 461.2 MB, free: 112.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.905e-06/0.3794, allocations: 0 / 461.2 MB, free: 112.4 MB / 410.7 MB Notification: Performance of Templates: time 0.03318/0.4126, allocations: 24.88 MB / 486.1 MB, free: 109 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.73599571082741]