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.005271/0.005271, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001213/0.001213, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.313/1.313, allocations: 222.9 MB / 240.3 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02621/0.02621, allocations: 5.403 MB / 295.9 MB, free: 9.441 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 412.8 MB, free: 22.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09087/0.09218, allocations: 50.61 MB / 463.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.005251/0.09746, allocations: 4.397 MB / 467.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002891/0.1004, allocations: 1.578 MB / 469.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006178/0.101, allocations: 8 kB / 469.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.1021, allocations: 308.9 kB / 469.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007569/0.1029, allocations: 234.3 kB / 469.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.1035, allocations: 207.6 kB / 470.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02136/0.1248, allocations: 25.7 MB / 495.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01191/0.1368, allocations: 7.947 MB / 0.492 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01487/0.1517, allocations: 9.353 MB / 0.5011 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2909/0.4427, allocations: 10.84 MB / 0.5117 GB, free: 21.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01238/0.4551, allocations: 2.706 MB / 0.5143 GB, free: 21.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01353/0.4687, allocations: 2.715 MB / 0.517 GB, free: 21.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01172/0.4804, allocations: 5.122 MB / 0.522 GB, free: 19.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02375/0.5042, allocations: 9.53 MB / 0.5313 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03473/0.539, allocations: 28.92 MB / 0.5595 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.539, allocations: 3.938 kB / 0.5595 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.5391, allocations: 0.9688 kB / 0.5595 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001352/0.5404, allocations: 7.203 kB / 0.5595 GB, free: 10.69 MB / 398.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.1249/0.6654, allocations: 31.41 MB / 0.5902 GB, free: 12.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.6655, allocations: 12.03 kB / 0.5902 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.6774, allocations: 1.448 MB / 0.5916 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06289/0.7403, allocations: 18.94 MB / 0.6101 GB, free: 8.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/0.7414, allocations: 0.6295 MB / 0.6108 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006308/0.7478, allocations: 0.8163 MB / 0.6115 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05337/0.8011, allocations: 15.67 MB / 0.6269 GB, free: 6.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005054/0.8017, allocations: 26.69 kB / 0.6269 GB, free: 6.418 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005106/0.8068, allocations: 344 kB / 0.6272 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002342/0.8071, allocations: 218.8 kB / 0.6274 GB, free: 5.871 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04712/0.8542, allocations: 17.59 MB / 0.6446 GB, free: 4.379 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3991/1.253, allocations: 57.25 MB / 0.7005 GB, free: 140 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03487/1.288, allocations: 21.37 MB / 0.7214 GB, free: 133.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01122/1.3, allocations: 7.444 MB / 0.7286 GB, free: 131.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/1.3, allocations: 65.66 kB / 0.7287 GB, free: 131.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/1.3, allocations: 85.17 kB / 0.7288 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=448): time 5.58e-06/1.3, allocations: 3.828 kB / 0.7288 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=448): time 0.09885/1.399, allocations: 36.29 MB / 0.7642 GB, free: 112 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/1.399, allocations: 98.86 kB / 0.7643 GB, free: 111.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03201/1.431, allocations: 15.19 MB / 0.7792 GB, free: 97.03 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00257/1.433, allocations: 109.7 kB / 0.7793 GB, free: 96.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00947/1.443, allocations: 6.088 MB / 0.7852 GB, free: 91.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.003501/1.446, allocations: 1.59 MB / 0.7868 GB, free: 90.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01117/1.458, allocations: 2.097 MB / 0.7888 GB, free: 88.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.846e-05/1.458, allocations: 301.1 kB / 0.7891 GB, free: 87.99 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01494/1.473, allocations: 7.64 MB / 0.7966 GB, free: 80.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01538/1.488, allocations: 8.837 MB / 0.8052 GB, free: 71.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02686/1.515, allocations: 14.4 MB / 0.8192 GB, free: 56.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.861e-05/1.515, allocations: 8 kB / 0.8193 GB, free: 56.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.112/1.627, allocations: 39.94 MB / 0.8583 GB, free: 16.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/1.627, allocations: 16.91 kB / 0.8583 GB, free: 16.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.019e-05/1.627, allocations: 24 kB / 0.8583 GB, free: 16.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04685/1.674, allocations: 26.02 MB / 0.8837 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00765/1.682, allocations: 1.49 MB / 0.8852 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6431/2.325, allocations: 202.8 MB / 1.083 GB, free: 21.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02332/2.348, allocations: 2.559 MB / 1.086 GB, free: 19.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005336/2.354, allocations: 379.7 kB / 1.086 GB, free: 19.56 MB / 0.545 GB 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.01581/2.369, allocations: 4.521 MB / 1.091 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005763/2.375, allocations: 1.155 MB / 1.092 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4414/2.817, allocations: 31.8 MB / 1.123 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-05/2.817, allocations: 43.5 kB / 1.123 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/2.817, allocations: 0 / 1.123 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002122/2.817, allocations: 21.05 kB / 1.123 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1501/2.967, allocations: 46.46 MB / 1.168 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.246e-05/2.967, allocations: 7.656 kB / 1.168 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/2.969, allocations: 452.4 kB / 1.169 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02585/2.995, allocations: 15.46 MB / 1.184 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001966/2.997, allocations: 113.6 kB / 1.184 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3171/3.315, allocations: 115 MB / 1.296 GB, free: 41.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/3.315, allocations: 4 kB / 1.296 GB, free: 41.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09492/3.41, allocations: 30.87 MB / 1.326 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01055/3.42, allocations: 2.655 MB / 1.329 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006339/3.426, allocations: 76 kB / 1.329 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2941/3.721, allocations: 1.392 MB / 1.33 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001445/3.722, allocations: 276.2 kB / 1.33 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001359/3.723, allocations: 143.8 kB / 1.331 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.02409/3.748, allocations: 10.49 MB / 1.341 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.41e-07/3.748, allocations: 3.969 kB / 1.341 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.02507/3.773, allocations: 3.714 MB / 1.344 GB, free: 159.4 MB / 0.5606 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.002536/3.775, allocations: 190.1 kB / 1.345 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.07722/3.853, allocations: 33.13 MB / 1.377 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/3.853, allocations: 0 / 1.377 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0509/3.903, allocations: 17.29 MB / 1.394 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01874/3.922, allocations: 3.119 MB / 1.397 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07229/3.995, allocations: 29.57 MB / 1.426 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0137/4.008, allocations: 8.679 MB / 1.434 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.01082/4.019, allocations: 3.783 MB / 1.438 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002593/4.022, allocations: 0.6282 MB / 1.439 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/4.022, allocations: 0 / 1.439 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.6347/4.657, allocations: 278.4 MB / 1.71 GB, free: 23.72 MB / 0.5606 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile (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)