Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009273/0.0009273, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.009105/0.009105, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.497/1.497, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1528/0.1528, allocations: 5.381 MB / 296.8 MB, free: 3.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 8 kB / 362.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1096, allocations: 51.6 MB / 414.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.004619/0.1143, allocations: 4.011 MB / 418.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.1174, allocations: 1.558 MB / 419.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000696/0.1181, allocations: 8 kB / 419.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.1194, allocations: 331.3 kB / 420.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008097/0.1202, allocations: 206.7 kB / 420.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.1207, allocations: 191.8 kB / 420.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2354/0.3561, allocations: 23.55 MB / 444 MB, free: 32.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01103/0.3673, allocations: 7.22 MB / 451.3 MB, free: 29.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01169/0.379, allocations: 6.268 MB / 457.5 MB, free: 27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01656/0.3956, allocations: 8.118 MB / 465.6 MB, free: 23.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005919/0.4016, allocations: 0.8182 MB / 466.5 MB, free: 23.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009281/0.4109, allocations: 0.8217 MB / 467.3 MB, free: 23.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00917/0.4201, allocations: 2.835 MB / 470.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02829/0.4484, allocations: 7.207 MB / 477.3 MB, free: 17.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04545/0.4939, allocations: 26.32 MB / 0.4918 GB, free: 13.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.4939, allocations: 0 / 0.4918 GB, free: 13.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.494, allocations: 3.938 kB / 0.4918 GB, free: 13.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001393/0.4954, allocations: 0 / 0.4918 GB, free: 13.89 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.09928/0.5946, allocations: 28 MB / 0.5192 GB, free: 1.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.5947, allocations: 8.031 kB / 0.5192 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.6068, allocations: 1.452 MB / 0.5206 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05892/0.6657, allocations: 19.1 MB / 0.5393 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008206/0.6666, allocations: 0.6334 MB / 0.5399 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005001/0.6716, allocations: 0.8163 MB / 0.5407 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04735/0.719, allocations: 15.88 MB / 0.5562 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003137/0.7194, allocations: 19.81 kB / 0.5562 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004278/0.7236, allocations: 344 kB / 0.5565 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002044/0.7239, allocations: 212 kB / 0.5568 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04637/0.7702, allocations: 18.01 MB / 0.5743 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5555/1.326, allocations: 57.9 MB / 0.6309 GB, free: 68.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03921/1.365, allocations: 21.98 MB / 0.6523 GB, free: 58.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01385/1.379, allocations: 7.655 MB / 0.6598 GB, free: 55.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/1.379, allocations: 68.28 kB / 0.6599 GB, free: 55.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/1.379, allocations: 83.91 kB / 0.66 GB, free: 55.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 5.611e-06/1.379, allocations: 0 / 0.66 GB, free: 55.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1176/1.497, allocations: 37.91 MB / 0.697 GB, free: 24.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/1.497, allocations: 101 kB / 0.6971 GB, free: 24.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03737/1.534, allocations: 15.18 MB / 0.7119 GB, free: 9.812 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002665/1.537, allocations: 113.7 kB / 0.712 GB, free: 9.695 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.01191/1.549, allocations: 6.09 MB / 0.718 GB, free: 3.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003816/1.553, allocations: 1.577 MB / 0.7195 GB, free: 2.195 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004501/1.557, allocations: 0.7868 MB / 0.7203 GB, free: 1.398 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.089e-05/1.558, allocations: 301.1 kB / 0.7206 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01939/1.577, allocations: 7.857 MB / 0.7282 GB, free: 9.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02017/1.597, allocations: 9.04 MB / 0.7371 GB, free: 15.86 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03805/1.635, allocations: 14.8 MB / 0.7515 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.459e-05/1.635, allocations: 4 kB / 0.7515 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.3995/2.035, allocations: 41.35 MB / 0.7919 GB, free: 131 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/2.035, allocations: 17.67 kB / 0.7919 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.908e-05/2.035, allocations: 23.75 kB / 0.7919 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05478/2.09, allocations: 26.4 MB / 0.8177 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008247/2.098, allocations: 1.501 MB / 0.8192 GB, free: 128.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6966/2.795, allocations: 195.1 MB / 1.01 GB, free: 103 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02417/2.819, allocations: 2.661 MB / 1.012 GB, free: 102.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004647/2.824, allocations: 380.8 kB / 1.013 GB, free: 102.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.01405/2.838, allocations: 4.517 MB / 1.017 GB, free: 100.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006027/2.844, allocations: 1.159 MB / 1.018 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1028/2.947, allocations: 33.22 MB / 1.051 GB, free: 77.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-05/2.947, allocations: 40 kB / 1.051 GB, free: 77.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/2.947, allocations: 0 / 1.051 GB, free: 77.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001664/2.947, allocations: 27.91 kB / 1.051 GB, free: 77.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1523/3.099, allocations: 48.24 MB / 1.098 GB, free: 29.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-05/3.099, allocations: 0 / 1.098 GB, free: 29.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/3.102, allocations: 451.4 kB / 1.098 GB, free: 28.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02768/3.129, allocations: 15.87 MB / 1.114 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002608/3.132, allocations: 111.9 kB / 1.114 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6032/3.735, allocations: 112.8 MB / 1.224 GB, free: 102 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/3.735, allocations: 3 kB / 1.224 GB, free: 102 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0989/3.834, allocations: 32.27 MB / 1.256 GB, free: 69.99 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00861/3.843, allocations: 2.71 MB / 1.258 GB, free: 67.32 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004982/3.848, allocations: 74.06 kB / 1.258 GB, free: 67.25 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01246/3.86, allocations: 1.498 MB / 1.26 GB, free: 65.75 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/3.862, allocations: 280.1 kB / 1.26 GB, free: 65.47 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001766/3.863, allocations: 139.9 kB / 1.26 GB, free: 65.34 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02443/3.888, allocations: 10.49 MB / 1.27 GB, free: 54.92 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.733e-06/3.888, allocations: 4 kB / 1.27 GB, free: 54.92 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.02078/3.909, allocations: 3.704 MB / 1.274 GB, free: 51.32 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (250): * Single equations (assignments): 249 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001466/3.91, allocations: 192.4 kB / 1.274 GB, free: 51.15 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.08162/3.992, allocations: 34.07 MB / 1.307 GB, free: 16.34 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/3.992, allocations: 0 / 1.307 GB, free: 16.34 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.3062/4.298, allocations: 18.27 MB / 1.325 GB, free: 127.1 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02576/4.324, allocations: 2.983 MB / 1.328 GB, free: 127 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07363/4.397, allocations: 34.2 MB / 1.362 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01395/4.411, allocations: 8.685 MB / 1.37 GB, free: 114.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0114/4.423, allocations: 3.597 MB / 1.374 GB, free: 114.1 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002172/4.425, allocations: 0.6324 MB / 1.374 GB, free: 114.1 MB / 0.4982 GB Notification: Performance of SimCode: time 7.82e-07/4.425, allocations: 0 / 1.374 GB, free: 114.1 MB / 0.4982 GB Notification: Performance of Templates: time 0.6677/5.093, allocations: 258.6 MB / 1.627 GB, free: 40.87 MB / 0.4982 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) Environment - environmentSimulation: