Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.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.001119/0.001119, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001186/0.001186, allocations: 181 kB / 23.36 MB, free: 1.133 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.034/1.034, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.01949/0.01949, allocations: 4.228 MB / 264.5 MB, free: 8.824 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.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 286.3 MB, free: 2.996 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.1e-05, allocations: 2.312 kB / 286.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.1513/0.1513, allocations: 9.572 MB / 295.9 MB, free: 19.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005567/0.1569, allocations: 3.644 MB / 299.5 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006707/0.1576, allocations: 78.5 kB / 299.6 MB, free: 17.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003408/0.161, allocations: 3.43 MB / 303 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.1625, allocations: 0.9079 MB / 304 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.1637, allocations: 1.074 MB / 305 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00265/0.1664, allocations: 4.383 MB / 309.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004766/0.1711, allocations: 6.776 MB / 316.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.1737, allocations: 3.784 MB / 320 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.1757, allocations: 2.538 MB / 322.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000737/0.1765, allocations: 0.707 MB / 323.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.1775, allocations: 1.015 MB / 324.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007206/0.1782, allocations: 1.36 MB / 325.6 MB, free: 12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.1795, allocations: 1.735 MB / 327.3 MB, free: 10.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003203/0.1827, allocations: 4.513 MB / 331.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1827, allocations: 0 / 331.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1827, allocations: 0 / 331.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.686e-05/0.1828, allocations: 0 / 331.8 MB, free: 5.734 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: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.005775/0.1886, allocations: 5.111 MB / 336.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1886, allocations: 8.031 kB / 337 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00461/0.1932, allocations: 1.87 MB / 338.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.1952, allocations: 1.521 MB / 340.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.1954, allocations: 324.5 kB / 340.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004063/0.1958, allocations: 416 kB / 341.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003493/0.1993, allocations: 3.371 MB / 344.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.544e-05/0.1993, allocations: 0 / 344.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002729/0.1996, allocations: 172 kB / 344.6 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.1997, allocations: 208.5 kB / 344.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.2018, allocations: 1.55 MB / 346.4 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.2143, allocations: 13.52 MB / 359.9 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.2159, allocations: 1.207 MB / 361.1 MB, free: 7.758 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.2162, allocations: 313.3 kB / 361.4 MB, free: 7.445 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.255e-05/0.2163, allocations: 44.97 kB / 361.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003869/0.2167, allocations: 457.7 kB / 361.9 MB, free: 6.922 MB / 314.7 MB Notification: Performance of pre-optimization done (n=106): time 1.983e-06/0.2167, allocations: 0 / 361.9 MB, free: 6.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.001207/0.2179, allocations: 0.8366 MB / 362.7 MB, free: 6.051 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.2179, allocations: 149.4 kB / 362.9 MB, free: 5.875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008549/0.2188, allocations: 1.232 MB / 364.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.2188, allocations: 41.7 kB / 364.1 MB, free: 4.582 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008473/0.2197, allocations: 1.875 MB / 366 MB, free: 2.688 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.2199, allocations: 396.8 kB / 366.4 MB, free: 2.297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004432/0.2203, allocations: 0.5004 MB / 366.9 MB, free: 1.789 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.2204, allocations: 305.2 kB / 367.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008271/0.2212, allocations: 366 kB / 367.6 MB, free: 1.121 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.2224, allocations: 1.355 MB / 368.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.2239, allocations: 1.921 MB / 370.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.2239, allocations: 12 kB / 370.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.001776/0.2257, allocations: 1.63 MB / 372.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/0.2258, allocations: 51.73 kB / 372.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/0.2258, allocations: 36 kB / 372.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.226, allocations: 124.7 kB / 372.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009506/0.227, allocations: 0.5578 MB / 373.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.2281, allocations: 1.408 MB / 374.7 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008205/0.2289, allocations: 305.8 kB / 375 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.2291, allocations: 115.9 kB / 375.1 MB, free: 8.438 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * 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 (313): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0005094/0.2296, allocations: 333.3 kB / 375.4 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.2297, allocations: 123.9 kB / 375.5 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008746/0.2306, allocations: 0.8026 MB / 376.3 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004796/0.2311, allocations: 0.5063 MB / 376.8 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2311, allocations: 7.938 kB / 376.8 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.2311, allocations: 11.97 kB / 376.8 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.2339, allocations: 2.521 MB / 379.4 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.2339, allocations: 8.031 kB / 379.4 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003801/0.2343, allocations: 183.7 kB / 379.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.2345, allocations: 248 kB / 379.8 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.2346, allocations: 39.97 kB / 379.8 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000822/0.2354, allocations: 0.7368 MB / 380.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2354, allocations: 0 / 380.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.2366, allocations: 1.146 MB / 381.7 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.2369, allocations: 198.7 kB / 381.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.237, allocations: 28.06 kB / 381.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.2373, allocations: 51.91 kB / 382 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.2374, allocations: 64.88 kB / 382 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.2375, allocations: 27.97 kB / 382.1 MB, free: 1.129 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004444/0.2379, allocations: 0.5338 MB / 382.6 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2379, allocations: 0 / 382.6 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001848/0.2398, allocations: 0.9574 MB / 383.6 MB, free: 15.63 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_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 (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002848/0.24, allocations: 189.5 kB / 383.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.2413, allocations: 1.286 MB / 385 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.955e-05/0.2414, allocations: 31.84 kB / 385.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.2417, allocations: 403.7 kB / 385.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009005/0.2426, allocations: 385.4 kB / 385.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00606/0.2487, allocations: 5.475 MB / 391.3 MB, free: 7.738 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/0.2493, allocations: 0.7585 MB / 392.1 MB, free: 6.953 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005923/0.2499, allocations: 355.8 kB / 392.4 MB, free: 6.602 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/0.2504, allocations: 389.1 kB / 392.8 MB, free: 6.219 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2504, allocations: 0 / 392.8 MB, free: 6.219 MB / 346.7 MB Notification: Performance of Templates: time 0.03742/0.2879, allocations: 25.4 MB / 418.2 MB, free: 13.17 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5412304820492864]