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.001349/0.001349, allocations: 102.6 kB / 16.27 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.001175/0.001175, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02677/0.02677, allocations: 5.406 MB / 296.5 MB, free: 9.551 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.84 kB / 361.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.199, allocations: 50.6 MB / 412.2 MB, free: 29.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003416/0.2025, allocations: 3.391 MB / 415.6 MB, free: 26.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.2039, allocations: 1.262 MB / 416.8 MB, free: 24.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.2041, allocations: 4 kB / 416.8 MB, free: 24.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.2045, allocations: 210.8 kB / 417.1 MB, free: 24.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.2048, allocations: 146.9 kB / 417.2 MB, free: 24.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.205, allocations: 119.8 kB / 417.3 MB, free: 24.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000332/0.2053, allocations: 0.5643 MB / 417.9 MB, free: 23.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.2055, allocations: 120.1 kB / 418 MB, free: 23.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.2057, allocations: 207.2 kB / 418.2 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.2059, allocations: 251 kB / 418.4 MB, free: 23.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.206, allocations: 52 kB / 418.5 MB, free: 23.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-05/0.2061, allocations: 60 kB / 418.6 MB, free: 23.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.2061, allocations: 111.6 kB / 418.7 MB, free: 22.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.2063, allocations: 222.9 kB / 418.9 MB, free: 22.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.2066, allocations: 0.5217 MB / 419.4 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2066, allocations: 0 / 419.4 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2067, allocations: 0 / 419.4 MB, free: 22.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2067, allocations: 4 kB / 419.4 MB, free: 22.22 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.001643/0.2083, allocations: 0.8063 MB / 420.2 MB, free: 21.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2084, allocations: 12.03 kB / 420.2 MB, free: 21.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/0.2084, allocations: 44.38 kB / 420.3 MB, free: 21.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008468/0.2093, allocations: 488.1 kB / 420.7 MB, free: 20.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.2093, allocations: 28.62 kB / 420.8 MB, free: 20.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.2094, allocations: 24 kB / 420.8 MB, free: 20.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.2098, allocations: 289.1 kB / 421.1 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2099, allocations: 0 / 421.1 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.2099, allocations: 15.94 kB / 421.1 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2099, allocations: 4 kB / 421.1 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.2104, allocations: 253.5 kB / 421.3 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.2121, allocations: 1.263 MB / 422.6 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.2126, allocations: 267.5 kB / 422.9 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.2129, allocations: 112.8 kB / 423 MB, free: 18.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.2129, allocations: 4 kB / 423 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.2129, allocations: 30.56 kB / 423 MB, free: 18.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.2129, allocations: 4 kB / 423 MB, free: 18.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.003165/0.2161, allocations: 0.7291 MB / 423.7 MB, free: 17.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.2161, allocations: 55.41 kB / 423.8 MB, free: 17.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.2165, allocations: 393.5 kB / 424.2 MB, free: 17.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2165, allocations: 25.7 kB / 424.2 MB, free: 17.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/0.2166, allocations: 219.7 kB / 424.4 MB, free: 16.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.2166, allocations: 39.44 kB / 424.5 MB, free: 16.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/0.2167, allocations: 57.59 kB / 424.5 MB, free: 16.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.471e-05/0.2168, allocations: 342.8 kB / 424.9 MB, free: 16.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.217, allocations: 103.9 kB / 425 MB, free: 16.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.2172, allocations: 135.3 kB / 425.1 MB, free: 16.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.2177, allocations: 220.8 kB / 425.3 MB, free: 16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2177, allocations: 0 / 425.3 MB, free: 16 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001974/0.2197, allocations: 0.5566 MB / 425.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2197, allocations: 9.719 kB / 425.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2197, allocations: 0 / 425.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007739/0.2205, allocations: 237.6 kB / 426.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.2207, allocations: 47.91 kB / 426.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004355/0.225, allocations: 3.786 MB / 429.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.2254, allocations: 43.81 kB / 430 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.2255, allocations: 8 kB / 430 MB, free: 11.02 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.0001404/0.2256, allocations: 147.5 kB / 430.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.2257, allocations: 31.62 kB / 430.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.2257, allocations: 39.06 kB / 430.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2257, allocations: 0 / 430.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.2257, allocations: 0 / 430.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2258, allocations: 4 kB / 430.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.2278, allocations: 0.8548 MB / 431.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2278, allocations: 0 / 431.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.232e-05/0.2279, allocations: 19.98 kB / 431.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002975/0.2282, allocations: 160.8 kB / 431.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.2282, allocations: 15.98 kB / 431.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002779/0.231, allocations: 2.003 MB / 433.3 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.231, allocations: 4.031 kB / 433.3 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.2326, allocations: 0.5004 MB / 433.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.2327, allocations: 124.6 kB / 433.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.2328, allocations: 8 kB / 433.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.233, allocations: 15.98 kB / 433.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.2331, allocations: 15.98 kB / 433.9 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.2331, allocations: 7.984 kB / 433.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.2333, allocations: 263.2 kB / 434.2 MB, free: 6.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2333, allocations: 0 / 434.2 MB, free: 6.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004547/0.2338, allocations: 87.91 kB / 434.3 MB, free: 6.48 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.0001112/0.2339, allocations: 115.7 kB / 434.4 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.2351, allocations: 490 kB / 434.9 MB, free: 5.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.2351, allocations: 0 / 434.9 MB, free: 5.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.2355, allocations: 202.8 kB / 435.1 MB, free: 5.637 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000774/0.2363, allocations: 78.98 kB / 435.1 MB, free: 5.562 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.2374, allocations: 0.6373 MB / 435.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.2376, allocations: 0.7756 MB / 436.5 MB, free: 4.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.2377, allocations: 31.42 kB / 436.6 MB, free: 4.059 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2377, allocations: 0 / 436.6 MB, free: 4.059 MB / 302.1 MB Notification: Performance of Templates: time 0.007738/0.2454, allocations: 6.884 MB / 443.5 MB, free: 13.2 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 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)