Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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/IDEAS 3.0.0/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005751/0.005751, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7751/0.7751, allocations: 132.3 MB / 148.1 MB, free: 244 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.2 MB / 403.2 MB, free: 6.734 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009157/0.0009155, allocations: 105.4 kB / 485.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004555, allocations: 8 kB / 0.5641 GB, free: 2.109 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.5704, allocations: 81.57 MB / 0.6437 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.278/4.849, allocations: 1.693 GB / 2.337 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/4.849, allocations: 89.58 kB / 2.337 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6511/5.5, allocations: 63.75 MB / 2.399 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.546e-06/5.5, allocations: 0 / 2.399 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.084e-05/5.5, allocations: 24 kB / 2.399 GB, free: 234.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002151/5.502, allocations: 1.167 MB / 2.401 GB, free: 233 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/5.502, allocations: 8.031 kB / 2.401 GB, free: 233 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008254/5.503, allocations: 186.6 kB / 2.401 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000956/5.504, allocations: 0.6114 MB / 2.401 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/5.504, allocations: 58 kB / 2.401 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.393e-05/5.504, allocations: 76 kB / 2.401 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/5.506, allocations: 0.852 MB / 2.402 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/5.506, allocations: 0 / 2.402 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-05/5.506, allocations: 32 kB / 2.402 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/5.506, allocations: 23.95 kB / 2.402 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/5.507, allocations: 1.069 MB / 2.403 GB, free: 230 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003412/5.511, allocations: 2.423 MB / 2.406 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/5.512, allocations: 0.808 MB / 2.407 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/5.512, allocations: 32.58 kB / 2.407 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006496/5.512, allocations: 426.7 kB / 2.407 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 3.196e-06/5.513, allocations: 0 / 2.407 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.002751/5.515, allocations: 1.082 MB / 2.408 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/5.515, allocations: 243.9 kB / 2.408 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/5.516, allocations: 0.5814 MB / 2.409 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-05/5.516, allocations: 49.62 kB / 2.409 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/5.517, allocations: 364.3 kB / 2.409 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/5.517, allocations: 232.6 kB / 2.409 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/5.517, allocations: 16 kB / 2.409 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001366/5.517, allocations: 378.8 kB / 2.41 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/5.517, allocations: 217.2 kB / 2.41 GB, free: 223 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/5.518, allocations: 319.6 kB / 2.41 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/5.518, allocations: 267.1 kB / 2.411 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/5.518, allocations: 0 / 2.411 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00152/5.52, allocations: 0.7198 MB / 2.411 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/5.52, allocations: 4.062 kB / 2.411 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/5.52, allocations: 4.078 kB / 2.411 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/5.52, allocations: 76.78 kB / 2.411 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/5.521, allocations: 143.8 kB / 2.411 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/5.523, allocations: 1.544 MB / 2.413 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/5.523, allocations: 71.56 kB / 2.413 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/5.523, allocations: 24.08 kB / 2.413 GB, free: 219.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005565/5.524, allocations: 267.7 kB / 2.413 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/5.524, allocations: 79.06 kB / 2.413 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/5.526, allocations: 0.9822 MB / 2.414 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/5.526, allocations: 8 kB / 2.414 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/5.526, allocations: 0 / 2.414 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/5.526, allocations: 3.984 kB / 2.414 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/5.529, allocations: 1.919 MB / 2.416 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/5.529, allocations: 0 / 2.416 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/5.529, allocations: 135.8 kB / 2.416 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/5.53, allocations: 84.78 kB / 2.416 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/5.53, allocations: 23.92 kB / 2.416 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/5.531, allocations: 1.571 MB / 2.418 GB, free: 214.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/5.531, allocations: 0 / 2.418 GB, free: 214.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/5.533, allocations: 0.9064 MB / 2.419 GB, free: 213.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/5.533, allocations: 279.8 kB / 2.419 GB, free: 213.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.022e-05/5.534, allocations: 16 kB / 2.419 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/5.534, allocations: 67.94 kB / 2.419 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/5.534, allocations: 57.2 kB / 2.419 GB, free: 213 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/5.534, allocations: 27.98 kB / 2.419 GB, free: 213 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005452/5.535, allocations: 479 kB / 2.42 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/5.535, allocations: 0 / 2.42 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001196/5.536, allocations: 355.1 kB / 2.42 GB, free: 212.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001943/5.538, allocations: 1.067 MB / 2.421 GB, free: 211.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001373/5.539, allocations: 0.7121 MB / 2.422 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/5.539, allocations: 0 / 2.422 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007174/5.54, allocations: 492.4 kB / 2.422 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/5.541, allocations: 243.5 kB / 2.423 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/5.545, allocations: 2.047 MB / 2.425 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/5.545, allocations: 1.011 MB / 2.426 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007888/5.546, allocations: 249.9 kB / 2.426 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/5.546, allocations: 95.39 kB / 2.426 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.713e-06/5.546, allocations: 0 / 2.426 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.02944/5.576, allocations: 20.15 MB / 2.446 GB, free: 186.4 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)