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.001127/0.001127, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001215/0.001215, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.053/1.053, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.03005/0.03005, allocations: 4.221 MB / 265.3 MB, free: 8.785 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.705e-06/2.705e-06, allocations: 3.984 kB / 340.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.886e-05, allocations: 12.7 kB / 340.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.008647/0.008676, allocations: 9.576 MB / 349.9 MB, free: 1.469 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006605/0.01528, allocations: 3.48 MB / 353.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.01665, allocations: 79.62 kB / 353.5 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003605/0.02025, allocations: 3.352 MB / 356.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.02269, allocations: 0.8887 MB / 357.7 MB, free: 9.637 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.02427, allocations: 1.063 MB / 358.8 MB, free: 8.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003508/0.02778, allocations: 4.389 MB / 363.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006889/0.03467, allocations: 6.571 MB / 369.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00467/0.03934, allocations: 3.764 MB / 373.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003432/0.04277, allocations: 2.495 MB / 376 MB, free: 7.234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001274/0.04405, allocations: 0.707 MB / 376.7 MB, free: 6.527 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.04598, allocations: 1.023 MB / 377.7 MB, free: 5.504 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.04715, allocations: 1.356 MB / 379.1 MB, free: 4.145 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.04926, allocations: 1.735 MB / 380.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004628/0.05389, allocations: 4.511 MB / 385.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.05389, allocations: 0 / 385.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.05389, allocations: 0 / 385.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001294/0.05402, allocations: 0 / 385.3 MB, free: 13.88 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.008469/0.06249, allocations: 5.568 MB / 390.9 MB, free: 8.242 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.06253, allocations: 8.031 kB / 390.9 MB, free: 8.234 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00562/0.06815, allocations: 1.821 MB / 392.7 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003524/0.07168, allocations: 2.586 MB / 395.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.07186, allocations: 320.5 kB / 395.6 MB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00048/0.07234, allocations: 412 kB / 396 MB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004958/0.0773, allocations: 3.297 MB / 399.3 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.948e-05/0.07737, allocations: 3.953 kB / 399.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002832/0.07765, allocations: 172 kB / 399.5 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/0.07781, allocations: 215.8 kB / 399.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.08024, allocations: 1.351 MB / 401.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01915/0.09939, allocations: 17.91 MB / 419 MB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.1014, allocations: 1.268 MB / 420.2 MB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.1018, allocations: 354.8 kB / 420.6 MB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.63e-05/0.1019, allocations: 40.97 kB / 420.6 MB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004529/0.1024, allocations: 470.3 kB / 421.1 MB, free: 9.344 MB / 394.7 MB Notification: Performance of pre-optimization done (n=106): time 2.354e-06/0.1024, allocations: 0 / 421.1 MB, free: 9.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.001698/0.1041, allocations: 1.072 MB / 422.1 MB, free: 8.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.1041, allocations: 149.5 kB / 422.3 MB, free: 8.059 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.1058, allocations: 1.719 MB / 424 MB, free: 6.312 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.1059, allocations: 53.73 kB / 424.1 MB, free: 6.254 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.1074, allocations: 2.145 MB / 426.2 MB, free: 4.086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.1078, allocations: 408.7 kB / 426.6 MB, free: 3.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006522/0.1084, allocations: 0.6159 MB / 427.2 MB, free: 3.059 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1085, allocations: 476.8 kB / 427.7 MB, free: 2.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.1089, allocations: 294.4 kB / 428 MB, free: 2.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.11, allocations: 1.951 MB / 429.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.1116, allocations: 2.458 MB / 432.4 MB, free: 12.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/0.1117, allocations: 12 kB / 432.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.002314/0.114, allocations: 1.991 MB / 434.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.114, allocations: 53.69 kB / 434.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/0.1141, allocations: 36.69 kB / 434.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/0.1143, allocations: 127.6 kB / 434.6 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.1154, allocations: 0.5693 MB / 435.2 MB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.1164, allocations: 2.015 MB / 437.2 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009561/0.1174, allocations: 313.9 kB / 437.5 MB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.1175, allocations: 119.9 kB / 437.6 MB, free: 7.062 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.0008624/0.1184, allocations: 369.1 kB / 438 MB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.1186, allocations: 198.9 kB / 438.2 MB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.1198, allocations: 0.9908 MB / 439.2 MB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006941/0.1205, allocations: 0.6867 MB / 439.8 MB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1205, allocations: 4 kB / 439.8 MB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.1205, allocations: 3.984 kB / 439.9 MB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/0.1242, allocations: 3.005 MB / 442.9 MB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1242, allocations: 7.984 kB / 442.9 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.1246, allocations: 183.7 kB / 443 MB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002687/0.1249, allocations: 255 kB / 443.3 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.1249, allocations: 35.97 kB / 443.3 MB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005063/0.1254, allocations: 1.051 MB / 444.4 MB, free: 60 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1255, allocations: 0 / 444.4 MB, free: 60 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1328/0.2582, allocations: 1.399 MB / 445.8 MB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/0.2587, allocations: 262.8 kB / 446 MB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.2588, allocations: 28.22 kB / 446.1 MB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.2592, allocations: 47.05 kB / 446.1 MB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/0.2593, allocations: 70.62 kB / 446.2 MB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.2593, allocations: 35.16 kB / 446.2 MB, free: 116.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006242/0.2599, allocations: 0.7553 MB / 447 MB, free: 116.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2599, allocations: 3.344 kB / 447 MB, free: 116.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001823/0.2618, allocations: 0.9668 MB / 447.9 MB, free: 116.4 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.0002497/0.262, allocations: 191.6 kB / 448.1 MB, free: 116.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.2635, allocations: 1.506 MB / 449.6 MB, free: 115.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2635, allocations: 3.312 kB / 449.6 MB, free: 115.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.2638, allocations: 446.6 kB / 450.1 MB, free: 115.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009372/0.2648, allocations: 384.6 kB / 450.4 MB, free: 115.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006184/0.271, allocations: 5.498 MB / 455.9 MB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007134/0.2717, allocations: 1.099 MB / 457 MB, free: 113.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006978/0.2724, allocations: 356.1 kB / 457.4 MB, free: 113.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005904/0.273, allocations: 434.6 kB / 457.8 MB, free: 113.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.273, allocations: 0 / 457.8 MB, free: 113.3 MB / 410.7 MB Notification: Performance of Templates: time 0.03139/0.3044, allocations: 25.64 MB / 483.5 MB, free: 110.3 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.88905629189685]