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.00121/0.00121, allocations: 77.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.001416/0.001416, allocations: 169 kB / 24.05 MB, free: 460 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.035/1.035, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.01836/0.01836, allocations: 4.226 MB / 265.3 MB, free: 8.754 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 2.074e-06/2.074e-06, allocations: 0 / 340.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.276e-05, allocations: 4.984 kB / 340.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.007471/0.007503, allocations: 6.12 MB / 346.5 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004994/0.0125, allocations: 2.503 MB / 349 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.01374, allocations: 19.94 kB / 349 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.01628, allocations: 1.131 MB / 350.1 MB, free: 104 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.01871, allocations: 0.6366 MB / 350.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.02001, allocations: 359.2 kB / 351.1 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001959/0.02197, allocations: 1.191 MB / 352.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.02359, allocations: 0.8559 MB / 353.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.02492, allocations: 0.7211 MB / 353.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008589/0.02578, allocations: 454.8 kB / 354.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002539/0.02603, allocations: 120 kB / 354.4 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007987/0.02683, allocations: 287.7 kB / 354.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.02706, allocations: 247.1 kB / 354.9 MB, free: 11.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000483/0.02754, allocations: 375.1 kB / 355.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.02931, allocations: 0.9575 MB / 356.3 MB, free: 9.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.02931, allocations: 0 / 356.3 MB, free: 9.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.02932, allocations: 4 kB / 356.3 MB, free: 9.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.39e-05/0.02934, allocations: 0 / 356.3 MB, free: 9.887 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.002682/0.03202, allocations: 1.545 MB / 357.8 MB, free: 8.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.03206, allocations: 8.031 kB / 357.8 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.03362, allocations: 475.8 kB / 358.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008224/0.03445, allocations: 0.5352 MB / 358.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/0.0345, allocations: 74.38 kB / 358.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.0346, allocations: 92.31 kB / 359 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008645/0.03547, allocations: 0.761 MB / 359.8 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.03549, allocations: 3.938 kB / 359.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.03555, allocations: 43.94 kB / 359.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.03557, allocations: 20 kB / 359.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005758/0.03614, allocations: 403.3 kB / 360.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004283/0.04043, allocations: 3.476 MB / 363.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009129/0.04134, allocations: 0.538 MB / 364.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.04152, allocations: 158.2 kB / 364.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.805e-05/0.04157, allocations: 19.98 kB / 364.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.04184, allocations: 275.2 kB / 364.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=47): time 2.925e-06/0.04184, allocations: 0 / 364.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.001398/0.04324, allocations: 0.6233 MB / 365.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.0433, allocations: 144.5 kB / 365.4 MB, free: 336 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.04369, allocations: 0.5138 MB / 365.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.04373, allocations: 37.7 kB / 366 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.044, allocations: 0.5217 MB / 366.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.04411, allocations: 166.6 kB / 366.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.04429, allocations: 168.2 kB / 366.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.04446, allocations: 0.5468 MB / 367.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.04462, allocations: 127.6 kB / 367.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.0449, allocations: 402.3 kB / 367.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.04537, allocations: 0.5557 MB / 368.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.04538, allocations: 4 kB / 368.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.000851/0.04623, allocations: 0.6557 MB / 369.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.04627, allocations: 33.7 kB / 369.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.04628, allocations: 4.719 kB / 369.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.04652, allocations: 91.59 kB / 369.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.0469, allocations: 175.6 kB / 369.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.04809, allocations: 1.956 MB / 371.4 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.04846, allocations: 75.47 kB / 371.4 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.0485, allocations: 35.97 kB / 371.5 MB, free: 9.836 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.000233/0.04873, allocations: 234.8 kB / 371.7 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.058e-05/0.04882, allocations: 87.62 kB / 371.8 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008851/0.04971, allocations: 0.5126 MB / 372.3 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.04971, allocations: 4 kB / 372.3 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.04971, allocations: 0 / 372.3 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.04972, allocations: 3.984 kB / 372.3 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.05112, allocations: 1.164 MB / 373.5 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.05113, allocations: 4 kB / 373.5 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.0514, allocations: 79.89 kB / 373.6 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003687/0.05177, allocations: 262.7 kB / 373.8 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.0518, allocations: 15.98 kB / 373.8 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000581/0.05238, allocations: 1.047 MB / 374.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.05239, allocations: 0 / 374.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000852/0.05324, allocations: 0.8264 MB / 375.7 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.05341, allocations: 103.5 kB / 375.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.05346, allocations: 12 kB / 375.8 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.05366, allocations: 23.98 kB / 375.8 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.05372, allocations: 35.88 kB / 375.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.05374, allocations: 15.98 kB / 375.9 MB, free: 5.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002188/0.05396, allocations: 322.7 kB / 376.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05396, allocations: 0 / 376.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006574/0.05462, allocations: 251.2 kB / 376.5 MB, free: 4.641 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.0002312/0.05485, allocations: 159.1 kB / 376.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.05557, allocations: 0.6637 MB / 377.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.05558, allocations: 0 / 377.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.05582, allocations: 254.5 kB / 377.5 MB, free: 3.492 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.05623, allocations: 98.95 kB / 377.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.05807, allocations: 1.276 MB / 378.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.871e-05/0.05817, allocations: 149.9 kB / 379 MB, free: 1.895 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.05838, allocations: 88.66 kB / 379.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005166/0.05889, allocations: 174.1 kB / 379.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.05889, allocations: 0 / 379.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of Templates: time 0.01369/0.07259, allocations: 9.069 MB / 388.4 MB, free: 8.664 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.007977025117725]