Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") translateModel(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 105.6 kB / 15.99 MB, free: 6.355 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.001274/0.001274, allocations: 195.8 kB / 16.91 MB, free: 6.188 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.305/1.305, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02504/0.02504, allocations: 5.405 MB / 296.1 MB, free: 9.754 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 361 MB, free: 8.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2531, allocations: 50.61 MB / 411.6 MB, free: 29.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.004103/0.2573, allocations: 3.548 MB / 415.2 MB, free: 26.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.2589, allocations: 1.277 MB / 416.4 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.2591, allocations: 4 kB / 416.4 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.2596, allocations: 203 kB / 416.6 MB, free: 24.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.2599, allocations: 147 kB / 416.8 MB, free: 24.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.2601, allocations: 103.9 kB / 416.9 MB, free: 24.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.2605, allocations: 0.5876 MB / 417.5 MB, free: 23.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.2607, allocations: 128.1 kB / 417.6 MB, free: 23.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.2609, allocations: 223.1 kB / 417.8 MB, free: 23.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.2611, allocations: 274.8 kB / 418.1 MB, free: 23.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.2612, allocations: 56 kB / 418.1 MB, free: 23.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.2613, allocations: 60 kB / 418.2 MB, free: 23.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.067e-05/0.2614, allocations: 119.5 kB / 418.3 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.2615, allocations: 246.8 kB / 418.6 MB, free: 22.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.2618, allocations: 443 kB / 419 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2619, allocations: 0 / 419 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2619, allocations: 0 / 419 MB, free: 22.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.2619, allocations: 0 / 419 MB, free: 22.28 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001732/0.2636, allocations: 0.8374 MB / 419.8 MB, free: 21.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2637, allocations: 11.97 kB / 419.8 MB, free: 21.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.135e-05/0.2638, allocations: 48.38 kB / 419.9 MB, free: 21.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.2649, allocations: 0.5102 MB / 420.4 MB, free: 20.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2649, allocations: 24.69 kB / 420.4 MB, free: 20.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.265, allocations: 24 kB / 420.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.2656, allocations: 361.3 kB / 420.8 MB, free: 20.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2657, allocations: 0 / 420.8 MB, free: 20.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.2657, allocations: 12 kB / 420.8 MB, free: 20.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.2657, allocations: 8 kB / 420.8 MB, free: 20.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008505/0.2666, allocations: 369.9 kB / 421.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.2686, allocations: 1.414 MB / 422.6 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009896/0.2696, allocations: 453.7 kB / 423 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/0.27, allocations: 164.7 kB / 423.2 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.2701, allocations: 0 / 423.2 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2701, allocations: 42.56 kB / 423.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.2701, allocations: 0 / 423.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.005376/0.2755, allocations: 1.021 MB / 424.3 MB, free: 16.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.2755, allocations: 55.41 kB / 424.3 MB, free: 16.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.2759, allocations: 393.5 kB / 424.7 MB, free: 16.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2759, allocations: 29.7 kB / 424.7 MB, free: 16.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/0.276, allocations: 216.2 kB / 424.9 MB, free: 16.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.2761, allocations: 82.92 kB / 425 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.2762, allocations: 69.58 kB / 425.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.2763, allocations: 350.7 kB / 425.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.2766, allocations: 143.9 kB / 425.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.277, allocations: 179.6 kB / 425.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/0.2777, allocations: 314.3 kB / 426 MB, free: 14.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2777, allocations: 4 kB / 426.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003837/0.2816, allocations: 0.8201 MB / 426.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.2816, allocations: 8 kB / 426.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2816, allocations: 4.062 kB / 426.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.2827, allocations: 329.3 kB / 427.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.2829, allocations: 59.91 kB / 427.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007563/0.2905, allocations: 4.321 MB / 431.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005456/0.2911, allocations: 55.72 kB / 431.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.2911, allocations: 19.97 kB / 431.7 MB, free: 8.977 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 (31): * Single equations (assignments): 29 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.2913, allocations: 145.8 kB / 431.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.2914, allocations: 39.53 kB / 431.8 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.458e-05/0.2915, allocations: 43.67 kB / 431.9 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2915, allocations: 3.938 kB / 431.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2915, allocations: 4 kB / 431.9 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2915, allocations: 3.984 kB / 431.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004046/0.2955, allocations: 1.18 MB / 433.1 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2956, allocations: 0 / 433.1 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.2957, allocations: 35.92 kB / 433.1 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005995/0.2963, allocations: 252.6 kB / 433.4 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.2963, allocations: 7.984 kB / 433.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006029/0.3024, allocations: 2.562 MB / 435.9 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3024, allocations: 32 / 435.9 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/0.306, allocations: 0.7735 MB / 436.7 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.3062, allocations: 140.5 kB / 436.8 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.3062, allocations: 4 kB / 436.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.3066, allocations: 35.97 kB / 436.9 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.3066, allocations: 11.98 kB / 436.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.3067, allocations: 15.98 kB / 436.9 MB, free: 3.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002483/0.3069, allocations: 271.2 kB / 437.2 MB, free: 3.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3069, allocations: 0 / 437.2 MB, free: 3.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005162/0.3075, allocations: 107.8 kB / 437.3 MB, free: 3.098 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 (18): * Single equations (assignments): 17 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001295/0.3076, allocations: 112.8 kB / 437.4 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.3088, allocations: 0.6112 MB / 438 MB, free: 2.336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3088, allocations: 0 / 438 MB, free: 2.336 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.3093, allocations: 277.4 kB / 438.3 MB, free: 2.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.3098, allocations: 89.28 kB / 438.4 MB, free: 1.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.3112, allocations: 0.8623 MB / 439.2 MB, free: 1.078 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.3114, allocations: 0.8039 MB / 440 MB, free: 252 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.3115, allocations: 35.42 kB / 440.1 MB, free: 216 kB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3115, allocations: 0 / 440.1 MB, free: 216 kB / 302.1 MB Notification: Performance of Templates: time 0.01094/0.3224, allocations: 7.905 MB / 448 MB, free: 8.332 MB / 318.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)