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.001421/0.001421, 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.001091/0.001091, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9623/0.9623, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.02488/0.02488, allocations: 4.221 MB / 264.2 MB, free: 8.941 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.954e-06/1.954e-06, allocations: 0 / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.115e-05, allocations: 2.312 kB / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.005696/0.005727, allocations: 6.214 MB / 345.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.008916, allocations: 2.531 MB / 347.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004918/0.009408, allocations: 16 kB / 347.8 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.01085, allocations: 1.154 MB / 349 MB, free: 280 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.01197, allocations: 0.6327 MB / 349.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.01248, allocations: 359.2 kB / 350 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000816/0.01329, allocations: 1.191 MB / 351.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008752/0.01417, allocations: 0.8598 MB / 352 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000571/0.01474, allocations: 0.7172 MB / 352.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.01514, allocations: 450.8 kB / 353.2 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.01525, allocations: 132 kB / 353.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.01565, allocations: 275.7 kB / 353.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.01578, allocations: 255.1 kB / 353.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.01602, allocations: 371.1 kB / 354.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008974/0.01691, allocations: 0.9613 MB / 355.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01692, allocations: 0 / 355.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.01692, allocations: 0 / 355.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.01693, allocations: 0 / 355.1 MB, free: 10.06 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.001918/0.01885, allocations: 1.541 MB / 356.7 MB, free: 8.477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.01888, allocations: 12.03 kB / 356.7 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.02003, allocations: 475.8 kB / 357.2 MB, free: 8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.02066, allocations: 0.539 MB / 357.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.0207, allocations: 70.38 kB / 357.8 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.921e-05/0.02079, allocations: 92.38 kB / 357.9 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000942/0.02173, allocations: 0.8197 MB / 358.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.02175, allocations: 4 kB / 358.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/0.02181, allocations: 43.98 kB / 358.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.02183, allocations: 24 kB / 358.7 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006822/0.02251, allocations: 493.2 kB / 359.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003202/0.02571, allocations: 3.453 MB / 362.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008778/0.02659, allocations: 0.5725 MB / 363.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.0268, allocations: 170.3 kB / 363.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.412e-05/0.02686, allocations: 23.98 kB / 363.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.02713, allocations: 279.3 kB / 363.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=47): time 1.573e-06/0.02713, allocations: 0 / 363.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.001224/0.02836, allocations: 0.682 MB / 364.4 MB, free: 452 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.02842, allocations: 144.4 kB / 364.5 MB, free: 276 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.02883, allocations: 0.5297 MB / 365.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.02886, allocations: 37.64 kB / 365.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.02911, allocations: 0.5101 MB / 365.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.998e-05/0.02921, allocations: 174.6 kB / 365.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.02937, allocations: 160.2 kB / 365.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.02954, allocations: 0.543 MB / 366.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.02974, allocations: 155.6 kB / 366.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.03006, allocations: 438.4 kB / 367.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/0.03058, allocations: 0.5871 MB / 367.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.03059, allocations: 4 kB / 367.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0008884/0.03148, allocations: 0.718 MB / 368.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.03151, allocations: 34.48 kB / 368.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.03152, allocations: 4 kB / 368.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/0.03177, allocations: 91.61 kB / 368.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.03214, allocations: 175.6 kB / 368.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.03321, allocations: 1.979 MB / 370.7 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.03351, allocations: 83.45 kB / 370.7 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.03355, allocations: 31.98 kB / 370.8 MB, free: 9.586 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.0002026/0.03375, allocations: 246.9 kB / 371 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.03383, allocations: 75.56 kB / 371.1 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006277/0.03446, allocations: 0.5478 MB / 371.6 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.03446, allocations: 4 kB / 371.6 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.03446, allocations: 0 / 371.6 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.03447, allocations: 4 kB / 371.6 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.03589, allocations: 1.324 MB / 373 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.03589, allocations: 0 / 373 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.03611, allocations: 67.91 kB / 373 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003669/0.03647, allocations: 266.8 kB / 373.3 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.0365, allocations: 15.98 kB / 373.3 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005319/0.03703, allocations: 1.059 MB / 374.4 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.03704, allocations: 4 kB / 374.4 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008954/0.03793, allocations: 0.8694 MB / 375.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.03808, allocations: 111.6 kB / 375.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.03813, allocations: 19.94 kB / 375.4 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.03831, allocations: 27.97 kB / 375.4 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.03837, allocations: 23.95 kB / 375.4 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.0384, allocations: 24.02 kB / 375.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002425/0.03864, allocations: 350.7 kB / 375.8 MB, free: 4.344 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03864, allocations: 0 / 375.8 MB, free: 4.344 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005987/0.03924, allocations: 255.2 kB / 376 MB, free: 4.094 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.0002367/0.03947, allocations: 153.3 kB / 376.2 MB, free: 3.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008152/0.04029, allocations: 0.7072 MB / 376.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.04029, allocations: 0 / 376.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.04056, allocations: 274.4 kB / 377.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.04097, allocations: 104.6 kB / 377.3 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.04274, allocations: 1.272 MB / 378.5 MB, free: 1.461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.021e-05/0.04283, allocations: 153.8 kB / 378.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000181/0.04301, allocations: 72.75 kB / 378.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.04313, allocations: 56.47 kB / 378.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of SimCode: time 1.933e-06/0.04313, allocations: 0 / 378.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of Templates: time 0.01316/0.0563, allocations: 8.818 MB / 387.6 MB, free: 8.434 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.1239987616427243]