Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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.0009252/0.0009252, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001091/0.001091, allocations: 177 kB / 23.5 MB, free: 1.051 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.014/1.014, allocations: 177.1 MB / 203.8 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.02315/0.02315, allocations: 4.226 MB / 264.5 MB, free: 9 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.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 3.938 kB / 339 MB, free: 10.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.419e-05, allocations: 9.266 kB / 339 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.004686/0.004711, allocations: 6.182 MB / 345.2 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.007336, allocations: 2.511 MB / 347.7 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.007665, allocations: 19.94 kB / 347.7 MB, free: 1.887 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.008913, allocations: 1.15 MB / 348.9 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007364/0.009649, allocations: 0.625 MB / 349.5 MB, free: 104 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.01008, allocations: 359.1 kB / 349.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007765/0.01085, allocations: 1.195 MB / 351 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008759/0.01173, allocations: 0.8598 MB / 351.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005527/0.01228, allocations: 0.7017 MB / 352.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.01271, allocations: 478.7 kB / 353.1 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.01281, allocations: 128 kB / 353.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.01313, allocations: 287.7 kB / 353.5 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.01327, allocations: 267 kB / 353.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.01352, allocations: 379.1 kB / 354.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008573/0.01438, allocations: 0.9847 MB / 355.1 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.01438, allocations: 0 / 355.1 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01438, allocations: 4 kB / 355.1 MB, free: 10.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.01439, allocations: 0 / 355.1 MB, free: 10.46 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002132/0.01652, allocations: 1.557 MB / 356.6 MB, free: 8.855 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.01657, allocations: 12.03 kB / 356.7 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.01792, allocations: 479.8 kB / 357.1 MB, free: 8.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007811/0.0187, allocations: 0.6117 MB / 357.7 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.01874, allocations: 74.38 kB / 357.8 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.079e-05/0.01883, allocations: 92.33 kB / 357.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009665/0.0198, allocations: 0.8158 MB / 358.7 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.01982, allocations: 4 kB / 358.7 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/0.01988, allocations: 44 kB / 358.8 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.0199, allocations: 24 kB / 358.8 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007173/0.02061, allocations: 487.4 kB / 359.3 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003182/0.02379, allocations: 3.398 MB / 362.7 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008788/0.02467, allocations: 0.5614 MB / 363.2 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.02489, allocations: 165.4 kB / 363.4 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.978e-05/0.02494, allocations: 19.98 kB / 363.4 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/0.02523, allocations: 279.3 kB / 363.7 MB, free: 1.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=47): time 1.333e-06/0.02523, allocations: 4 kB / 363.7 MB, free: 1.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.001078/0.02631, allocations: 0.6547 MB / 364.3 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.02636, allocations: 140.5 kB / 364.5 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.02675, allocations: 0.5141 MB / 365 MB, free: 148 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.02678, allocations: 37.7 kB / 365 MB, free: 104 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.02702, allocations: 0.514 MB / 365.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/0.02711, allocations: 170.5 kB / 365.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.02727, allocations: 164.2 kB / 365.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.02742, allocations: 0.5469 MB / 366.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.02761, allocations: 143.6 kB / 366.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.02793, allocations: 440 kB / 367 MB, free: 14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.02844, allocations: 0.5832 MB / 367.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.02844, allocations: 4 kB / 367.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0008536/0.0293, allocations: 0.7106 MB / 368.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.02933, allocations: 37.69 kB / 368.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.02934, allocations: 11.98 kB / 368.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/0.02958, allocations: 84.02 kB / 368.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.02993, allocations: 175.7 kB / 368.6 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.03096, allocations: 1.967 MB / 370.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.03123, allocations: 79.5 kB / 370.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.03127, allocations: 28 kB / 370.7 MB, free: 10.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (91): * Single equations (assignments): 89 * 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.00019/0.03146, allocations: 238.8 kB / 370.9 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.03154, allocations: 79.56 kB / 371 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006333/0.03217, allocations: 0.5479 MB / 371.5 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.03217, allocations: 4 kB / 371.5 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.03218, allocations: 0 / 371.5 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.03218, allocations: 3.984 kB / 371.5 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.03357, allocations: 1.269 MB / 372.8 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.03357, allocations: 0 / 372.8 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.03374, allocations: 71.89 kB / 372.9 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.034, allocations: 218.9 kB / 373.1 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.03403, allocations: 27.91 kB / 373.1 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005374/0.03457, allocations: 1.043 MB / 374.1 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.03457, allocations: 0 / 374.1 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009321/0.0355, allocations: 0.8577 MB / 375 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.03563, allocations: 107.5 kB / 375.1 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.03569, allocations: 15.94 kB / 375.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.03587, allocations: 27.92 kB / 375.1 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.03593, allocations: 31.94 kB / 375.2 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.03595, allocations: 16 kB / 375.2 MB, free: 5.262 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002404/0.03619, allocations: 330.8 kB / 375.5 MB, free: 4.941 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03619, allocations: 0 / 375.5 MB, free: 4.941 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004517/0.03665, allocations: 243.3 kB / 375.8 MB, free: 4.703 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_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 (41): * Single equations (assignments): 40 * 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.0002042/0.03685, allocations: 155.1 kB / 375.9 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007156/0.03757, allocations: 0.6957 MB / 376.6 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.03757, allocations: 3.938 kB / 376.6 MB, free: 3.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.03782, allocations: 267 kB / 376.9 MB, free: 3.516 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.0382, allocations: 105.5 kB / 377 MB, free: 3.414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.03988, allocations: 1.272 MB / 378.2 MB, free: 2.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.341e-05/0.03998, allocations: 146 kB / 378.4 MB, free: 1.922 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.04017, allocations: 88.88 kB / 378.5 MB, free: 1.832 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.612e-05/0.04027, allocations: 56.42 kB / 378.5 MB, free: 1.777 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.04027, allocations: 0 / 378.5 MB, free: 1.777 MB / 298.7 MB Notification: Performance of Templates: time 0.01008/0.05035, allocations: 7.677 MB / 386.2 MB, free: 10.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0553230170626193]