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.001065/0.001065, allocations: 114.4 kB / 16.42 MB, free: 6.016 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.001548/0.001548, allocations: 189.2 kB / 17.35 MB, free: 5.617 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0281/0.0281, allocations: 5.403 MB / 296.6 MB, free: 9.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 413.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07263/0.07388, allocations: 50.63 MB / 464.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.004876/0.07879, allocations: 4.377 MB / 468.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.08085, allocations: 1.582 MB / 470.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.08106, allocations: 11.94 kB / 470.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007625/0.08183, allocations: 320.9 kB / 470.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.08228, allocations: 246.4 kB / 470.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.08264, allocations: 211.6 kB / 470.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02032/0.103, allocations: 25.69 MB / 496.5 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009468/0.1125, allocations: 7.951 MB / 0.4927 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.1226, allocations: 9.349 MB / 0.5018 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1847/0.3074, allocations: 10.85 MB / 0.5124 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007446/0.3148, allocations: 2.704 MB / 0.515 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008967/0.3238, allocations: 2.714 MB / 0.5177 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007702/0.3316, allocations: 5.122 MB / 0.5227 GB, free: 19.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01555/0.3471, allocations: 9.533 MB / 0.532 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02288/0.37, allocations: 29 MB / 0.5603 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3701, allocations: 2.719 kB / 0.5603 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3701, allocations: 0 / 0.5603 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.00055/0.3706, allocations: 3.625 kB / 0.5603 GB, free: 10.59 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.1011/0.4717, allocations: 31.83 MB / 0.5914 GB, free: 11.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4718, allocations: 8.031 kB / 0.5914 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005808/0.4776, allocations: 1.523 MB / 0.5929 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04935/0.5269, allocations: 19.06 MB / 0.6115 GB, free: 7.332 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005973/0.5276, allocations: 0.6256 MB / 0.6121 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003489/0.5311, allocations: 0.8163 MB / 0.6129 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03446/0.5655, allocations: 15.67 MB / 0.6282 GB, free: 5.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/0.5657, allocations: 26.81 kB / 0.6283 GB, free: 5.738 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001276/0.567, allocations: 344 kB / 0.6286 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/0.5672, allocations: 216 kB / 0.6288 GB, free: 5.191 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03755/0.6047, allocations: 17.59 MB / 0.646 GB, free: 3.699 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3012/0.906, allocations: 57.34 MB / 0.702 GB, free: 140.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02943/0.9354, allocations: 21.36 MB / 0.7228 GB, free: 133.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009638/0.9451, allocations: 7.452 MB / 0.7301 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.9453, allocations: 64.23 kB / 0.7302 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.9453, allocations: 84.98 kB / 0.7302 GB, free: 131.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=448): time 5.68e-06/0.9454, allocations: 0 / 0.7302 GB, free: 131.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=448): time 0.09349/1.039, allocations: 36.36 MB / 0.7658 GB, free: 111.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/1.039, allocations: 94.92 kB / 0.7659 GB, free: 111.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01805/1.057, allocations: 15.19 MB / 0.7807 GB, free: 96.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001272/1.058, allocations: 109.7 kB / 0.7808 GB, free: 96.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003925/1.062, allocations: 6.212 MB / 0.7869 GB, free: 91.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001577/1.064, allocations: 1.656 MB / 0.7885 GB, free: 89.56 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003522/1.067, allocations: 2.11 MB / 0.7905 GB, free: 87.44 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.112e-05/1.067, allocations: 305.1 kB / 0.7908 GB, free: 87.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01096/1.078, allocations: 7.64 MB / 0.7983 GB, free: 79.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01123/1.09, allocations: 8.837 MB / 0.8069 GB, free: 70.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02184/1.111, allocations: 14.4 MB / 0.821 GB, free: 55.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/1.111, allocations: 4 kB / 0.821 GB, free: 55.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1055/1.217, allocations: 40 MB / 0.86 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/1.217, allocations: 19.94 kB / 0.8601 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/1.217, allocations: 23.94 kB / 0.8601 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04602/1.263, allocations: 26.01 MB / 0.8855 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006972/1.27, allocations: 1.498 MB / 0.887 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5306/1.801, allocations: 202.9 MB / 1.085 GB, free: 20.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01515/1.816, allocations: 2.591 MB / 1.088 GB, free: 18.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/1.817, allocations: 379.7 kB / 1.088 GB, free: 18.53 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.006286/1.823, allocations: 4.516 MB / 1.092 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002156/1.826, allocations: 1.23 MB / 1.094 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2871/2.113, allocations: 31.8 MB / 1.125 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001192/2.113, allocations: 21.56 kB / 1.125 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/2.113, allocations: 1.375 kB / 1.125 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007653/2.12, allocations: 2.751 MB / 1.127 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003108/2.124, allocations: 72.61 kB / 1.127 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009713/2.133, allocations: 1.403 MB / 1.129 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008599/2.134, allocations: 408.7 kB / 1.129 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06923/2.203, allocations: 27.77 MB / 1.156 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02789/2.231, allocations: 19.21 MB / 1.175 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008219/2.24, allocations: 6.015 MB / 1.181 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.01471/2.254, allocations: 10.49 MB / 1.191 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of Backend: time 6.91e-07/2.254, allocations: 3.844 kB / 1.191 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.07173/2.326, allocations: 28.06 MB / 1.219 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.04596/2.372, allocations: 29.4 MB / 1.247 GB, free: 91.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.6861/3.058, allocations: 253.9 MB / 1.495 GB, free: 36.89 MB / 0.5607 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)