Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2998/0.2998, allocations: 55.02 MB / 69.96 MB, free: 8.656 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001115/0.001115, allocations: 190.8 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.646/1.646, allocations: 194.4 MB / 292.3 MB, free: 3.602 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001644/0.001644, allocations: 123 kB / 350.7 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003813, allocations: 11.98 kB / 418.9 MB, free: 37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1277, allocations: 57.65 MB / 476.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.406/5.534, allocations: 2.13 GB / 2.595 GB, free: 52.21 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/5.535, allocations: 99.94 kB / 2.595 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4926/6.027, allocations: 53.1 MB / 2.647 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.137e-06/6.027, allocations: 0 / 2.647 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001032/6.027, allocations: 21.59 kB / 2.647 GB, free: 150.1 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002565/6.03, allocations: 1.151 MB / 2.648 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.852e-05/6.03, allocations: 9.5 kB / 2.648 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/6.032, allocations: 304.5 kB / 2.648 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/6.034, allocations: 0.5177 MB / 2.649 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-05/6.034, allocations: 60.06 kB / 2.649 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/6.034, allocations: 79.59 kB / 2.649 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/6.036, allocations: 0.8722 MB / 2.65 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/6.036, allocations: 0 / 2.65 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.545e-05/6.036, allocations: 33.72 kB / 2.65 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/6.036, allocations: 23.52 kB / 2.65 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/6.039, allocations: 1.155 MB / 2.651 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004957/6.044, allocations: 2.407 MB / 2.653 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/6.046, allocations: 0.9465 MB / 2.654 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007249/6.047, allocations: 474 kB / 2.655 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/6.048, allocations: 493.2 kB / 2.655 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=73): time 4.679e-06/6.048, allocations: 2.656 kB / 2.655 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73): time 0.004554/6.053, allocations: 1.236 MB / 2.656 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/6.053, allocations: 164.6 kB / 2.657 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/6.054, allocations: 495.6 kB / 2.657 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/6.054, allocations: 48.17 kB / 2.657 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/6.054, allocations: 324 kB / 2.657 GB, free: 147 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/6.055, allocations: 241.5 kB / 2.658 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/6.055, allocations: 11.31 kB / 2.658 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001781/6.055, allocations: 371.4 kB / 2.658 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000804/6.056, allocations: 284.5 kB / 2.658 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009011/6.057, allocations: 367.8 kB / 2.659 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/6.057, allocations: 371.9 kB / 2.659 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/6.057, allocations: 0 / 2.659 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002684/6.06, allocations: 0.9436 MB / 2.66 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.894e-05/6.06, allocations: 60.48 kB / 2.66 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/6.06, allocations: 1.188 kB / 2.66 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006898/6.061, allocations: 85.73 kB / 2.66 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008335/6.062, allocations: 155 kB / 2.66 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/6.064, allocations: 1.532 MB / 2.662 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008461/6.065, allocations: 82.58 kB / 2.662 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/6.065, allocations: 33.16 kB / 2.662 GB, free: 144.9 MB / 0.4948 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 2 * 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.0006067/6.065, allocations: 243.1 kB / 2.662 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/6.066, allocations: 71.27 kB / 2.662 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/6.069, allocations: 1.105 MB / 2.663 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/6.069, allocations: 13.59 kB / 2.663 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/6.069, allocations: 2.719 kB / 2.663 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/6.069, allocations: 8.172 kB / 2.663 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004456/6.073, allocations: 1.964 MB / 2.665 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/6.073, allocations: 0.7031 kB / 2.665 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000801/6.074, allocations: 163 kB / 2.665 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000585/6.075, allocations: 89.38 kB / 2.665 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/6.075, allocations: 22.75 kB / 2.665 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/6.077, allocations: 1.559 MB / 2.667 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/6.077, allocations: 0 / 2.667 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/6.079, allocations: 0.9943 MB / 2.668 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005452/6.08, allocations: 290.2 kB / 2.668 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/6.08, allocations: 11.69 kB / 2.668 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006533/6.08, allocations: 67.66 kB / 2.668 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/6.081, allocations: 57.98 kB / 2.668 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.638e-05/6.081, allocations: 36.3 kB / 2.668 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006181/6.081, allocations: 402.9 kB / 2.669 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.91e-07/6.081, allocations: 0 / 2.669 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001513/6.083, allocations: 358.2 kB / 2.669 GB, free: 142.5 MB / 0.4948 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 80 * 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.002221/6.085, allocations: 1.098 MB / 2.67 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002136/6.087, allocations: 0.951 MB / 2.671 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/6.087, allocations: 9.438 kB / 2.671 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/6.088, allocations: 0.5219 MB / 2.672 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009169/6.089, allocations: 175.3 kB / 2.672 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/6.094, allocations: 2.012 MB / 2.674 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/6.094, allocations: 0.9926 MB / 2.675 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001049/6.095, allocations: 253 kB / 2.675 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/6.095, allocations: 87.17 kB / 2.675 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.714e-06/6.095, allocations: 0 / 2.675 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.03198/6.127, allocations: 19.05 MB / 2.694 GB, free: 138.6 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)