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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.005659/0.005659, allocations: 170.4 kB / 15.11 MB, free: 5.977 MB / 13.93 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: 223.2 MB / 239 MB, free: 1.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008742/0.0008742, allocations: 102.4 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02409/0.02409, allocations: 5.394 MB / 346.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004592, allocations: 13.31 kB / 412.1 MB, free: 90.05 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 51.61 MB / 463.7 MB, free: 44.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3137/0.4195, allocations: 83.52 MB / 0.5344 GB, free: 19.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001751/0.4197, allocations: 69.64 kB / 0.5345 GB, free: 19.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03383/0.4536, allocations: 12.88 MB / 0.5471 GB, free: 18.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4536, allocations: 7.812 kB / 0.5471 GB, free: 18.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.4536, allocations: 3.812 kB / 0.5471 GB, free: 18.08 MB / 362.7 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.001389/0.455, allocations: 0.7356 MB / 0.5478 GB, free: 17.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.4551, allocations: 7.75 kB / 0.5478 GB, free: 17.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.4552, allocations: 46.81 kB / 0.5479 GB, free: 17.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.4557, allocations: 348.2 kB / 0.5482 GB, free: 17.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.4557, allocations: 19.16 kB / 0.5482 GB, free: 17.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.4558, allocations: 27.47 kB / 0.5482 GB, free: 17.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000804/0.4566, allocations: 408.9 kB / 0.5486 GB, free: 17.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4566, allocations: 0 / 0.5486 GB, free: 17.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.4567, allocations: 11.19 kB / 0.5486 GB, free: 17.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.4567, allocations: 7.875 kB / 0.5486 GB, free: 17.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000961/0.4576, allocations: 469.4 kB / 0.5491 GB, free: 17.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.46, allocations: 1.516 MB / 0.5506 GB, free: 16.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/0.4607, allocations: 416.4 kB / 0.551 GB, free: 16.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.4607, allocations: 8.781 kB / 0.551 GB, free: 16.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.4607, allocations: 35.31 kB / 0.551 GB, free: 16.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.4607, allocations: 0 / 0.551 GB, free: 16.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.006444/0.4672, allocations: 1.194 MB / 0.5522 GB, free: 16.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.4673, allocations: 51.41 kB / 0.5522 GB, free: 16.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/0.4678, allocations: 397.6 kB / 0.5526 GB, free: 15.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.4678, allocations: 33.11 kB / 0.5526 GB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.4679, allocations: 220 kB / 0.5529 GB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.468, allocations: 67.36 kB / 0.5529 GB, free: 15.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.468, allocations: 11.22 kB / 0.5529 GB, free: 15.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.4681, allocations: 350.4 kB / 0.5533 GB, free: 15.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.4684, allocations: 165.9 kB / 0.5534 GB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.4687, allocations: 200.1 kB / 0.5536 GB, free: 15.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.4691, allocations: 167.7 kB / 0.5538 GB, free: 15.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4691, allocations: 5.062 kB / 0.5538 GB, free: 15.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003751/0.4729, allocations: 0.8572 MB / 0.5546 GB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.4729, allocations: 6.688 kB / 0.5546 GB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.4729, allocations: 1.031 kB / 0.5546 GB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002969/0.4759, allocations: 0.5897 MB / 0.5552 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.4763, allocations: 62.55 kB / 0.5553 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007374/0.4836, allocations: 4.216 MB / 0.5594 GB, free: 28.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/0.4842, allocations: 53.92 kB / 0.5594 GB, free: 28.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.4843, allocations: 15.02 kB / 0.5594 GB, free: 28.46 MB / 378.7 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 (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002793/0.4846, allocations: 155.4 kB / 0.5596 GB, free: 28.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/0.4847, allocations: 38.91 kB / 0.5596 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.03e-05/0.4847, allocations: 38.11 kB / 0.5597 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4848, allocations: 3.906 kB / 0.5597 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4848, allocations: 0 / 0.5597 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4848, allocations: 3.141 kB / 0.5597 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.4883, allocations: 1.191 MB / 0.5608 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4883, allocations: 0 / 0.5608 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.4885, allocations: 41.05 kB / 0.5609 GB, free: 27.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002372/0.4909, allocations: 0.5105 MB / 0.5614 GB, free: 27.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.4909, allocations: 6.438 kB / 0.5614 GB, free: 27.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005043/0.496, allocations: 2.577 MB / 0.5639 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.496, allocations: 3.938 kB / 0.5639 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.499, allocations: 0.7784 MB / 0.5647 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.4992, allocations: 151.5 kB / 0.5648 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.4993, allocations: 3.625 kB / 0.5648 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.4997, allocations: 34.42 kB / 0.5648 GB, free: 26.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.4997, allocations: 18.14 kB / 0.5649 GB, free: 26.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.4997, allocations: 10.77 kB / 0.5649 GB, free: 26.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003227/0.5001, allocations: 307.1 kB / 0.5652 GB, free: 26.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5001, allocations: 0 / 0.5652 GB, free: 26.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006113/0.5007, allocations: 142.2 kB / 0.5653 GB, free: 26.21 MB / 378.7 MB 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 (17): * Single equations (assignments): 16 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002173/0.5009, allocations: 122.6 kB / 0.5654 GB, free: 26.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.5021, allocations: 0.6226 MB / 0.566 GB, free: 25.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.5021, allocations: 1.812 kB / 0.566 GB, free: 25.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.5026, allocations: 289.1 kB / 0.5663 GB, free: 25.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.503, allocations: 73.97 kB / 0.5664 GB, free: 25.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.5043, allocations: 0.7934 MB / 0.5671 GB, free: 25.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.5047, allocations: 0.802 MB / 0.5679 GB, free: 24.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.5049, allocations: 41.28 kB / 0.568 GB, free: 24.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.505, allocations: 28.31 kB / 0.568 GB, free: 24.6 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.505, allocations: 0 / 0.568 GB, free: 24.6 MB / 378.7 MB Notification: Performance of Templates: time 0.01436/0.5193, allocations: 9.122 MB / 0.5769 GB, free: 20.91 MB / 378.7 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)