Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001154, allocations: 100.2 kB / 16.37 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 191.3 kB / 17.31 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02722/0.02722, allocations: 5.394 MB / 296.6 MB, free: 9.484 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 55.91 kB / 362.4 MB, free: 7.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2053, allocations: 50.62 MB / 413 MB, free: 29.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003737/0.2091, allocations: 3.38 MB / 416.4 MB, free: 25.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.2108, allocations: 1.262 MB / 417.6 MB, free: 24.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.2111, allocations: 4 kB / 417.6 MB, free: 24.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005674/0.2117, allocations: 214.8 kB / 417.8 MB, free: 24.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.2121, allocations: 146.9 kB / 418 MB, free: 24.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.2123, allocations: 115.8 kB / 418.1 MB, free: 24.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000439/0.2128, allocations: 0.5565 MB / 418.7 MB, free: 23.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.213, allocations: 128 kB / 418.8 MB, free: 23.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.2132, allocations: 211.2 kB / 419 MB, free: 23.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.2135, allocations: 255 kB / 419.2 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.2e-05/0.2135, allocations: 52 kB / 419.3 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.2136, allocations: 56 kB / 419.3 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.2137, allocations: 107.6 kB / 419.5 MB, free: 22.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.2139, allocations: 230.9 kB / 419.7 MB, free: 22.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.2142, allocations: 0.5216 MB / 420.2 MB, free: 22.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2142, allocations: 0 / 420.2 MB, free: 22.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2142, allocations: 0 / 420.2 MB, free: 22.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.2143, allocations: 0 / 420.2 MB, free: 22.06 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001683/0.2159, allocations: 0.8141 MB / 421 MB, free: 21.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.216, allocations: 15.97 kB / 421 MB, free: 21.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.871e-05/0.2161, allocations: 48.38 kB / 421.1 MB, free: 21.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/0.217, allocations: 488.1 kB / 421.6 MB, free: 20.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.217, allocations: 20.62 kB / 421.6 MB, free: 20.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.2171, allocations: 24 kB / 421.6 MB, free: 20.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.2175, allocations: 297.1 kB / 421.9 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2175, allocations: 3.984 kB / 421.9 MB, free: 20.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.2176, allocations: 12 kB / 421.9 MB, free: 20.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2176, allocations: 4 kB / 421.9 MB, free: 20.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.2181, allocations: 249.5 kB / 422.1 MB, free: 20 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.2198, allocations: 1.263 MB / 423.4 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.2202, allocations: 263.6 kB / 423.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.2205, allocations: 108.8 kB / 423.8 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.2205, allocations: 4.219 kB / 423.8 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.2205, allocations: 38.5 kB / 423.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.804e-06/0.2205, allocations: 0 / 423.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.003114/0.2237, allocations: 0.7316 MB / 424.5 MB, free: 17.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.2237, allocations: 51.41 kB / 424.6 MB, free: 17.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.224, allocations: 389.5 kB / 425 MB, free: 17.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.224, allocations: 33.64 kB / 425 MB, free: 16.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.2241, allocations: 215.8 kB / 425.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.2241, allocations: 39.45 kB / 425.3 MB, free: 16.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.2242, allocations: 53.59 kB / 425.3 MB, free: 16.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.2243, allocations: 346.8 kB / 425.7 MB, free: 16.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.2245, allocations: 99.94 kB / 425.7 MB, free: 16.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.2247, allocations: 139.3 kB / 425.9 MB, free: 16.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.2251, allocations: 220.7 kB / 426.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2251, allocations: 0 / 426.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00193/0.2271, allocations: 0.5605 MB / 426.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2271, allocations: 6.188 kB / 426.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2271, allocations: 4 kB / 426.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007389/0.2278, allocations: 249.5 kB / 426.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.228, allocations: 39.91 kB / 427 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/0.2323, allocations: 3.782 MB / 430.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.2326, allocations: 39.86 kB / 430.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.2327, allocations: 15.92 kB / 430.8 MB, free: 10.85 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: 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 prepare postOptimizeDAE: time 0.0001317/0.2328, allocations: 150.5 kB / 430.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.2329, allocations: 31.62 kB / 431 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.2329, allocations: 35.06 kB / 431 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2329, allocations: 4 kB / 431 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2329, allocations: 0 / 431 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2329, allocations: 0 / 431 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.2349, allocations: 0.847 MB / 431.9 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2349, allocations: 0 / 431.9 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.969e-05/0.235, allocations: 19.98 kB / 431.9 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002743/0.2353, allocations: 164.8 kB / 432 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.2353, allocations: 3.984 kB / 432 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.2379, allocations: 2.011 MB / 434 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2379, allocations: 7.984 kB / 434.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.2395, allocations: 0.4965 MB / 434.6 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.2396, allocations: 128.6 kB / 434.7 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.2396, allocations: 0 / 434.7 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.2399, allocations: 27.97 kB / 434.7 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.2399, allocations: 11.98 kB / 434.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.24, allocations: 0 / 434.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.2402, allocations: 275.2 kB / 435 MB, free: 6.391 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2402, allocations: 0 / 435 MB, free: 6.391 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.2407, allocations: 87.84 kB / 435.1 MB, free: 6.305 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001288/0.2408, allocations: 109.7 kB / 435.2 MB, free: 6.188 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008354/0.2417, allocations: 489.9 kB / 435.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2417, allocations: 4.188 kB / 435.7 MB, free: 5.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.242, allocations: 194.6 kB / 435.9 MB, free: 5.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.2425, allocations: 73.8 kB / 435.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000919/0.2434, allocations: 0.5929 MB / 436.5 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.2435, allocations: 0.7795 MB / 437.3 MB, free: 3.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.2437, allocations: 42.94 kB / 437.3 MB, free: 3.934 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.2437, allocations: 31.44 kB / 437.4 MB, free: 3.902 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2437, allocations: 0 / 437.4 MB, free: 3.902 MB / 302.1 MB Notification: Performance of Templates: time 0.009248/0.253, allocations: 6.18 MB / 443.5 MB, free: 13.78 MB / 318.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)