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.0007176/0.0007175, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007252/0.0007252, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.136/0.136, allocations: 5.382 MB / 296.5 MB, free: 3.961 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003106, allocations: 12 kB / 361.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09401, allocations: 51.6 MB / 413.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.004302/0.09836, allocations: 3.807 MB / 417.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.1015, allocations: 1.493 MB / 418.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006484/0.1022, allocations: 11.94 kB / 418.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.1035, allocations: 446.7 kB / 419.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007084/0.1043, allocations: 202.7 kB / 419.5 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.1047, allocations: 127.8 kB / 419.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2138/0.3186, allocations: 26.62 MB / 446.2 MB, free: 32.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008277/0.3269, allocations: 5.609 MB / 451.8 MB, free: 30.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01068/0.3376, allocations: 6.339 MB / 458.2 MB, free: 27.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01424/0.3519, allocations: 8.018 MB / 466.2 MB, free: 24.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00565/0.3576, allocations: 0.9028 MB / 467.1 MB, free: 24.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009715/0.3673, allocations: 0.9137 MB / 468 MB, free: 24.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006495/0.3738, allocations: 2.917 MB / 470.9 MB, free: 22.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008728/0.3826, allocations: 2.731 MB / 473.6 MB, free: 21.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02154/0.4042, allocations: 23.22 MB / 496.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4042, allocations: 0 / 496.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4042, allocations: 0 / 496.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007287/0.4049, allocations: 0 / 496.9 MB, free: 5.387 MB / 350.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.08805/0.493, allocations: 28.26 MB / 0.5128 GB, free: 9.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4931, allocations: 8.031 kB / 0.5128 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009465/0.5025, allocations: 1.451 MB / 0.5142 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06178/0.5643, allocations: 20.66 MB / 0.5344 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009675/0.5654, allocations: 0.6256 MB / 0.535 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005291/0.5707, allocations: 0.8125 MB / 0.5358 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04666/0.6174, allocations: 16.89 MB / 0.5523 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004544/0.6179, allocations: 23.81 kB / 0.5523 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004241/0.6221, allocations: 353.4 kB / 0.5527 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001912/0.6223, allocations: 212.8 kB / 0.5529 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04803/0.6704, allocations: 20.21 MB / 0.5726 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.52/1.19, allocations: 61.69 MB / 0.6329 GB, free: 72.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03865/1.229, allocations: 25 MB / 0.6573 GB, free: 61.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01498/1.244, allocations: 8.682 MB / 0.6657 GB, free: 56.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/1.244, allocations: 66.55 kB / 0.6658 GB, free: 56.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.252e-05/1.245, allocations: 84.83 kB / 0.6659 GB, free: 56.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 6.142e-06/1.245, allocations: 0 / 0.6659 GB, free: 56.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1296/1.374, allocations: 51.51 MB / 0.7162 GB, free: 9.203 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/1.374, allocations: 95.48 kB / 0.7163 GB, free: 9.098 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0374/1.412, allocations: 16.19 MB / 0.7321 GB, free: 9.094 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002285/1.414, allocations: 117.7 kB / 0.7322 GB, free: 8.973 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008458/1.423, allocations: 6.096 MB / 0.7381 GB, free: 3.309 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003481/1.426, allocations: 1.575 MB / 0.7397 GB, free: 1.824 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002674/1.429, allocations: 180 kB / 0.7399 GB, free: 1.648 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0007098/1.429, allocations: 0.6666 MB / 0.7405 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02059/1.45, allocations: 9.182 MB / 0.7495 GB, free: 7.773 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02194/1.472, allocations: 10.38 MB / 0.7596 GB, free: 13.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02082/1.493, allocations: 9.857 MB / 0.7692 GB, free: 3.145 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.686e-05/1.493, allocations: 7.938 kB / 0.7692 GB, free: 3.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.3758/1.869, allocations: 54.53 MB / 0.8225 GB, free: 131.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/1.869, allocations: 14.47 kB / 0.8225 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/1.869, allocations: 24.47 kB / 0.8225 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04907/1.918, allocations: 30.49 MB / 0.8523 GB, free: 109.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007891/1.926, allocations: 1.576 MB / 0.8539 GB, free: 107.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6285/2.554, allocations: 225.3 MB / 1.074 GB, free: 56.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02341/2.578, allocations: 3.362 MB / 1.077 GB, free: 53.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003627/2.582, allocations: 383.7 kB / 1.078 GB, free: 53.61 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 (linear and non-linear blocks): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 48 {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: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {47 200} Notification: Performance of prepare postOptimizeDAE: time 0.0115/2.593, allocations: 4.522 MB / 1.082 GB, free: 49.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004217/2.597, allocations: 1.157 MB / 1.083 GB, free: 48.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.109/2.706, allocations: 45.81 MB / 1.128 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.086e-05/2.706, allocations: 44 kB / 1.128 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/2.706, allocations: 0 / 1.128 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001457/2.707, allocations: 27.75 kB / 1.128 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3958/3.102, allocations: 62.99 MB / 1.189 GB, free: 123.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.743e-05/3.102, allocations: 3.891 kB / 1.189 GB, free: 123.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/3.105, allocations: 454.2 kB / 1.19 GB, free: 123.5 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02894/3.134, allocations: 20.32 MB / 1.21 GB, free: 118.4 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001852/3.135, allocations: 118.6 kB / 1.21 GB, free: 118.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6208/3.756, allocations: 143.5 MB / 1.35 GB, free: 119.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/3.756, allocations: 5.234 kB / 1.35 GB, free: 119.9 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1169/3.873, allocations: 44.85 MB / 1.394 GB, free: 112 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0114/3.885, allocations: 3.023 MB / 1.397 GB, free: 110.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00556/3.89, allocations: 71.59 kB / 1.397 GB, free: 110.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01371/3.904, allocations: 2.071 MB / 1.399 GB, free: 109.9 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001673/3.906, allocations: 277.8 kB / 1.399 GB, free: 109.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002434/3.908, allocations: 144.3 kB / 1.399 GB, free: 109.7 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.0262/3.934, allocations: 11.17 MB / 1.41 GB, free: 100.9 MB / 0.4982 GB Notification: Performance of sort global known variables: time 7.11e-07/3.934, allocations: 0 / 1.41 GB, free: 100.9 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.02981/3.964, allocations: 4.07 MB / 1.414 GB, free: 96.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {48 154} Notification: Performance of Backend phase and start with SimCode phase: time 0.002435/3.967, allocations: 186.1 kB / 1.414 GB, free: 96.79 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.09109/4.058, allocations: 40.65 MB / 1.454 GB, free: 55.43 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/4.058, allocations: 0 / 1.454 GB, free: 55.43 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.06038/4.118, allocations: 23.71 MB / 1.477 GB, free: 31.68 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02352/4.142, allocations: 3.044 MB / 1.48 GB, free: 28.76 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3527/4.495, allocations: 34.27 MB / 1.514 GB, free: 111.2 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01317/4.508, allocations: 8.686 MB / 1.522 GB, free: 110.1 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01392/4.522, allocations: 3.644 MB / 1.526 GB, free: 110 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004468/4.526, allocations: 0.6394 MB / 1.526 GB, free: 110 MB / 0.4982 GB Notification: Performance of SimCode: time 2.034e-06/4.526, allocations: 0 / 1.526 GB, free: 110 MB / 0.4982 GB Notification: Performance of Templates: time 0.7169/5.243, allocations: 272.8 MB / 1.793 GB, free: 87.63 MB / 0.5138 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: