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.0009004/0.0009004, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001004/0.001904, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006901/0.0006901, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009124/0.001603, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.025/1.025, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.126, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo): time 0.0266/0.0266, allocations: 4.314 MB / 248.5 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004169/0.03077, allocations: 1.702 MB / 250.2 MB, free: 8.855 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/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.613e-06/1.613e-06, allocations: 0 / 251.5 MB, free: 7.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.647e-05, allocations: 2.312 kB / 251.5 MB, free: 7.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.006853/0.006879, allocations: 6.266 MB / 257.8 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005106/0.01199, allocations: 2.695 MB / 260.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007479/0.01273, allocations: 20 kB / 260.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.01443, allocations: 1.216 MB / 261.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.01559, allocations: 0.6288 MB / 262.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006002/0.01619, allocations: 363.1 kB / 262.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.01749, allocations: 1.211 MB / 263.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.01853, allocations: 0.8444 MB / 264.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009014/0.01943, allocations: 0.8275 MB / 265.6 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006068/0.02004, allocations: 466.7 kB / 266 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.02022, allocations: 124 kB / 266.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006684/0.02089, allocations: 295.6 kB / 266.4 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.02105, allocations: 191.4 kB / 266.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.02135, allocations: 307.4 kB / 266.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.0224, allocations: 0.9068 MB / 267.8 MB, free: 7.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.02241, allocations: 4 kB / 267.8 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.02241, allocations: 0 / 267.8 MB, free: 7.078 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.02244, allocations: 0 / 267.8 MB, free: 7.078 MB / 266.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.00229/0.02473, allocations: 1.729 MB / 269.6 MB, free: 5.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.02476, allocations: 11.98 kB / 269.6 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.02596, allocations: 483.4 kB / 270 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008125/0.02677, allocations: 412.4 kB / 270.4 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.02681, allocations: 74 kB / 270.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.0269, allocations: 95.89 kB / 270.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.02763, allocations: 0.7531 MB / 271.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.02765, allocations: 0 / 271.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.02769, allocations: 36 kB / 271.4 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.02771, allocations: 28 kB / 271.4 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.02814, allocations: 355.4 kB / 271.8 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003389/0.03153, allocations: 2.71 MB / 274.5 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1367/0.1682, allocations: 0.4978 MB / 275 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.1684, allocations: 137.8 kB / 275.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.26e-05/0.1685, allocations: 26.48 kB / 275.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002734/0.1688, allocations: 258.8 kB / 275.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.705e-06/0.1688, allocations: 0 / 275.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009983/0.1698, allocations: 0.5217 MB / 275.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.1699, allocations: 195.8 kB / 276.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.1703, allocations: 464.7 kB / 276.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.1703, allocations: 37.77 kB / 276.6 MB, free: 10.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.1705, allocations: 438.5 kB / 277 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.922e-05/0.1706, allocations: 175.1 kB / 277.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.1708, allocations: 150.3 kB / 277.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.1709, allocations: 373.1 kB / 277.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.171, allocations: 110.7 kB / 277.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.1712, allocations: 315.9 kB / 278.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.1716, allocations: 0.5049 MB / 278.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.1716, allocations: 4.469 kB / 278.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.000707/0.1724, allocations: 0.529 MB / 279.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.1724, allocations: 39.39 kB / 279.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1724, allocations: 6.156 kB / 279.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.1726, allocations: 88.11 kB / 279.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.1731, allocations: 205.6 kB / 279.5 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008019/0.1739, allocations: 1.365 MB / 280.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.1742, allocations: 88.47 kB / 280.9 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.1743, allocations: 28.22 kB / 281 MB, free: 7.656 MB / 266.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.0001833/0.1744, allocations: 194 kB / 281.2 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.1745, allocations: 58.95 kB / 281.2 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.175, allocations: 428.9 kB / 281.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.175, allocations: 5.516 kB / 281.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.175, allocations: 2.078 kB / 281.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-06/0.175, allocations: 3.297 kB / 281.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.1761, allocations: 0.8857 MB / 282.5 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1761, allocations: 3.828 kB / 282.5 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1763, allocations: 85.14 kB / 282.6 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.1764, allocations: 74.5 kB / 282.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.1767, allocations: 258.2 kB / 282.9 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.1768, allocations: 17.34 kB / 283 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003536/0.1771, allocations: 0.7403 MB / 283.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1771, allocations: 1.125 kB / 283.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.1778, allocations: 0.6541 MB / 284.4 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.1779, allocations: 14.8 kB / 284.4 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.178, allocations: 25.55 kB / 284.4 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.1781, allocations: 32.91 kB / 284.4 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.1781, allocations: 14.91 kB / 284.4 MB, free: 6.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.1783, allocations: 199.7 kB / 284.6 MB, free: 6.012 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1783, allocations: 0 / 284.6 MB, free: 6.012 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005798/0.1789, allocations: 261.4 kB / 284.9 MB, free: 5.965 MB / 266.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.0002142/0.1791, allocations: 138 kB / 285 MB, free: 5.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000634/0.1797, allocations: 0.6056 MB / 285.6 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.115e-05/0.1797, allocations: 10.19 kB / 285.6 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.18, allocations: 265.5 kB / 285.9 MB, free: 5.516 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.1805, allocations: 0.7962 MB / 286.7 MB, free: 4.809 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.1855, allocations: 1.311 MB / 288 MB, free: 4.125 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.1856, allocations: 151.5 kB / 288.2 MB, free: 4.051 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002845/0.1859, allocations: 77.84 kB / 288.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.1862, allocations: 163.1 kB / 288.4 MB, free: 3.988 MB / 266.7 MB Notification: Performance of SimCode: time 2.394e-06/0.1862, allocations: 4 kB / 288.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of Templates: time 0.01309/0.1993, allocations: 9.173 MB / 297.6 MB, free: 0.8555 MB / 266.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: 2.840408494696021]