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.001485/0.001485, allocations: 88.72 kB / 19.44 MB, free: 356 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.001722/0.001722, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.0305/0.0305, allocations: 4.212 MB / 263.8 MB, free: 8.973 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.455e-06/2.455e-06, allocations: 0 / 338.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.397e-05, allocations: 2.312 kB / 338.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.00889/0.008924, allocations: 5.734 MB / 344 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005586/0.01451, allocations: 2.441 MB / 346.4 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008485/0.01536, allocations: 23.94 kB / 346.5 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.01877, allocations: 1.088 MB / 347.5 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.02101, allocations: 0.6133 MB / 348.2 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.02201, allocations: 363.2 kB / 348.5 MB, free: 352 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.02409, allocations: 1.183 MB / 349.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.02628, allocations: 0.8675 MB / 350.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.02782, allocations: 0.7016 MB / 351.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.0289, allocations: 442.8 kB / 351.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002804/0.02918, allocations: 132 kB / 351.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009391/0.03012, allocations: 291.6 kB / 352.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003674/0.03049, allocations: 263.1 kB / 352.4 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007313/0.03122, allocations: 383 kB / 352.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003155/0.03438, allocations: 1.542 MB / 354.3 MB, free: 10.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.03439, allocations: 4 kB / 354.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.03439, allocations: 0 / 354.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.03441, allocations: 0 / 354.3 MB, free: 10.52 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.006399/0.04081, allocations: 1.476 MB / 355.8 MB, free: 9.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.04085, allocations: 12.03 kB / 355.8 MB, free: 8.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004081/0.04494, allocations: 471.8 kB / 356.2 MB, free: 8.535 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/0.04767, allocations: 0.6363 MB / 356.9 MB, free: 7.871 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.04779, allocations: 66.38 kB / 356.9 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.04807, allocations: 100.3 kB / 357 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/0.05137, allocations: 1.03 MB / 358.1 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/0.05142, allocations: 4 kB / 358.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.05157, allocations: 40 kB / 358.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/0.05161, allocations: 24 kB / 358.1 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/0.05473, allocations: 0.8566 MB / 359 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009865/0.0646, allocations: 3.215 MB / 362.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/0.06775, allocations: 0.6307 MB / 362.8 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009585/0.06871, allocations: 257 kB / 363.1 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.06885, allocations: 19.98 kB / 363.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.06996, allocations: 348 kB / 363.4 MB, free: 1.074 MB / 282.7 MB Notification: Performance of pre-optimization done (n=47): time 3.457e-06/0.06996, allocations: 0 / 363.4 MB, free: 1.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.004945/0.07491, allocations: 0.9566 MB / 364.4 MB, free: 88 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001959/0.0751, allocations: 148.4 kB / 364.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.07633, allocations: 0.4978 MB / 365 MB, free: 15.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8e-05/0.07641, allocations: 37.7 kB / 365.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006963/0.07711, allocations: 475.6 kB / 365.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.07739, allocations: 162.7 kB / 365.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004078/0.07779, allocations: 146.5 kB / 365.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003215/0.07812, allocations: 366.7 kB / 366.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009413/0.07906, allocations: 271.6 kB / 366.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.0803, allocations: 463.1 kB / 366.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.08242, allocations: 0.7066 MB / 367.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.08243, allocations: 0 / 367.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003538/0.08597, allocations: 0.9111 MB / 368.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.94e-05/0.08605, allocations: 37.69 kB / 368.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/0.08608, allocations: 8 kB / 368.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008174/0.08689, allocations: 84.78 kB / 368.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.08817, allocations: 171.8 kB / 368.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/0.09108, allocations: 1.455 MB / 370.3 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.09238, allocations: 91.42 kB / 370.4 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.09253, allocations: 28 kB / 370.4 MB, free: 9.691 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.001014/0.09355, allocations: 272 kB / 370.7 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/0.09391, allocations: 79.56 kB / 370.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.09672, allocations: 0.7287 MB / 371.5 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.09673, allocations: 8 kB / 371.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.09674, allocations: 0 / 371.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.09675, allocations: 3.984 kB / 371.5 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/0.102, allocations: 1.393 MB / 372.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.102, allocations: 0 / 372.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/0.1026, allocations: 75.89 kB / 373 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.1037, allocations: 296.2 kB / 373.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/0.1037, allocations: 15.98 kB / 373.3 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.1058, allocations: 0.8892 MB / 374.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.1058, allocations: 4.031 kB / 374.2 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003795/0.1096, allocations: 1.13 MB / 375.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004381/0.11, allocations: 107.5 kB / 375.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.1101, allocations: 15.94 kB / 375.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006422/0.1108, allocations: 35.97 kB / 375.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.1109, allocations: 23.95 kB / 375.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/0.111, allocations: 19.98 kB / 375.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006923/0.1117, allocations: 346.9 kB / 375.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1117, allocations: 0 / 375.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001286/0.1129, allocations: 247.3 kB / 376.1 MB, free: 3.824 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.0003808/0.1133, allocations: 151.1 kB / 376.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002347/0.1157, allocations: 0.7899 MB / 377 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1157, allocations: 0 / 377 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000949/0.1166, allocations: 317.8 kB / 377.3 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009371/0.1176, allocations: 116 kB / 377.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.1212, allocations: 1.342 MB / 378.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.1218, allocations: 352.1 kB / 379.1 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000498/0.1223, allocations: 88.88 kB / 379.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.1225, allocations: 52.48 kB / 379.3 MB, free: 496 kB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1225, allocations: 0 / 379.3 MB, free: 496 kB / 298.7 MB Notification: Performance of Templates: time 0.0177/0.1402, allocations: 7.623 MB / 386.9 MB, free: 8.973 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=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.860163921955973]