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.001/0.001, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001087/0.001087, allocations: 181.3 kB / 23.35 MB, free: 1.129 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.116/1.116, allocations: 177.1 MB / 203.8 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.01929/0.01929, allocations: 4.221 MB / 264.5 MB, free: 8.812 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.493e-06/1.493e-06, allocations: 0 / 286.4 MB, free: 2.938 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.609e-05, allocations: 2.312 kB / 286.4 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.1882/0.1882, allocations: 6.148 MB / 292.5 MB, free: 22.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004603/0.1928, allocations: 2.589 MB / 295.1 MB, free: 21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007069/0.1935, allocations: 22.72 kB / 295.1 MB, free: 20.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.1954, allocations: 1.159 MB / 296.3 MB, free: 20.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.1967, allocations: 0.6209 MB / 296.9 MB, free: 19.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006715/0.1974, allocations: 358.5 kB / 297.3 MB, free: 19.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.1986, allocations: 1.196 MB / 298.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.1999, allocations: 0.8933 MB / 299.3 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009466/0.2009, allocations: 0.7225 MB / 300.1 MB, free: 18.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006688/0.2015, allocations: 457.9 kB / 300.5 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.2017, allocations: 122.5 kB / 300.6 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000603/0.2023, allocations: 294.1 kB / 300.9 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.2025, allocations: 253 kB / 301.2 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003683/0.2028, allocations: 373.6 kB / 301.5 MB, free: 17.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.204, allocations: 0.9581 MB / 302.5 MB, free: 17.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.204, allocations: 0.6562 kB / 302.5 MB, free: 17.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.204, allocations: 0.5 kB / 302.5 MB, free: 17.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.139e-05/0.204, allocations: 0 / 302.5 MB, free: 17.11 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.002116/0.2061, allocations: 1.431 MB / 303.9 MB, free: 16.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2062, allocations: 11.38 kB / 303.9 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.2075, allocations: 482.9 kB / 304.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/0.2083, allocations: 396.8 kB / 304.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/0.2083, allocations: 69.31 kB / 304.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.2084, allocations: 98.66 kB / 305 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009448/0.2094, allocations: 0.7537 MB / 305.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.2094, allocations: 5.359 kB / 305.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/0.2095, allocations: 36.31 kB / 305.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.2095, allocations: 22.81 kB / 305.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.21, allocations: 351.8 kB / 306.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/0.2128, allocations: 2.692 MB / 308.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.2134, allocations: 0.4997 MB / 309.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.2135, allocations: 135.8 kB / 309.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-05/0.2136, allocations: 27.98 kB / 309.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.2137, allocations: 259.7 kB / 309.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.923e-06/0.2138, allocations: 0 / 309.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0007478/0.2145, allocations: 0.5072 MB / 310.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.2145, allocations: 140.5 kB / 310.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.2148, allocations: 443 kB / 310.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.2148, allocations: 37.7 kB / 310.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2149, allocations: 440.5 kB / 311.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.2149, allocations: 170.5 kB / 311.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.2151, allocations: 150.5 kB / 311.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.2151, allocations: 374.6 kB / 311.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.593e-05/0.2152, allocations: 111.7 kB / 312.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.2153, allocations: 321.8 kB / 312.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.2156, allocations: 475.6 kB / 312.8 MB, free: 8.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2156, allocations: 4 kB / 312.8 MB, free: 8.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0005146/0.2161, allocations: 0.5207 MB / 313.4 MB, free: 7.875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.2162, allocations: 33.7 kB / 313.4 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2162, allocations: 7.938 kB / 313.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.2164, allocations: 89.22 kB / 313.5 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.2167, allocations: 183.7 kB / 313.7 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006269/0.2173, allocations: 1.352 MB / 315 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.2176, allocations: 83.45 kB / 315.1 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.2177, allocations: 27.98 kB / 315.1 MB, free: 6.016 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.0001395/0.2178, allocations: 191.3 kB / 315.3 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.2179, allocations: 55.88 kB / 315.4 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/0.2182, allocations: 439.2 kB / 315.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2182, allocations: 4 kB / 315.8 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.2182, allocations: 0 / 315.8 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2182, allocations: 0 / 315.8 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009122/0.2191, allocations: 0.8761 MB / 316.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2191, allocations: 0 / 316.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.2193, allocations: 78.64 kB / 316.8 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002241/0.2195, allocations: 255.1 kB / 317 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.2195, allocations: 19.92 kB / 317 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002934/0.2198, allocations: 0.7308 MB / 317.8 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2198, allocations: 0 / 317.8 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.2204, allocations: 0.645 MB / 318.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.2205, allocations: 63.58 kB / 318.5 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.2206, allocations: 19.94 kB / 318.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.2207, allocations: 23.98 kB / 318.5 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.2208, allocations: 35.88 kB / 318.5 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.2208, allocations: 13.67 kB / 318.6 MB, free: 2.402 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.221, allocations: 196.4 kB / 318.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.221, allocations: 0 / 318.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005568/0.2215, allocations: 255.3 kB / 319 MB, free: 1.961 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.0002054/0.2217, allocations: 138.5 kB / 319.1 MB, free: 1.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005236/0.2222, allocations: 0.5815 MB / 319.7 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/0.2223, allocations: 12.5 kB / 319.7 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.2224, allocations: 239.7 kB / 320 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.2228, allocations: 118.5 kB / 320.1 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.2245, allocations: 1.26 MB / 321.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.2246, allocations: 149.9 kB / 321.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000185/0.2248, allocations: 72.75 kB / 321.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.225, allocations: 163.2 kB / 321.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of SimCode: time 1.743e-06/0.225, allocations: 0 / 321.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of Templates: time 0.01317/0.2381, allocations: 8.822 MB / 330.5 MB, free: 6.438 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0917467861436307]