Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.008924/0.008924, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7644/0.7644, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 8 kB / 0.504 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4889, allocations: 81.58 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004737/0.4936, allocations: 3.779 MB / 0.5874 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1797/0.6734, allocations: 146.7 MB / 0.7306 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.6747, allocations: 19.88 kB / 0.7307 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008141/0.6755, allocations: 135 kB / 0.7308 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.6775, allocations: 409 kB / 0.7312 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.6794, allocations: 0.6997 MB / 0.7319 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.6807, allocations: 1.121 MB / 0.733 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008708/0.6816, allocations: 0.5862 MB / 0.7335 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004583/0.6821, allocations: 314.4 kB / 0.7338 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004139/0.6825, allocations: 357.9 kB / 0.7342 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.941e-05/0.6826, allocations: 24 kB / 0.7342 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007868/0.6834, allocations: 359.7 kB / 0.7345 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.6836, allocations: 175.1 kB / 0.7347 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003648/0.6839, allocations: 422.9 kB / 0.7351 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.6855, allocations: 1.374 MB / 0.7365 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.6855, allocations: 4 kB / 0.7365 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6855, allocations: 0 / 0.7365 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.6855, allocations: 0 / 0.7365 GB, free: 3.422 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002017/0.6875, allocations: 1.14 MB / 0.7376 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.6876, allocations: 8.031 kB / 0.7376 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009305/0.6885, allocations: 195.5 kB / 0.7378 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.6896, allocations: 0.7072 MB / 0.7385 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.608e-05/0.6897, allocations: 65.94 kB / 0.7385 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.6898, allocations: 76 kB / 0.7386 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.6913, allocations: 0.8911 MB / 0.7395 GB, free: 212 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.6913, allocations: 0 / 0.7395 GB, free: 212 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.35e-05/0.6914, allocations: 36 kB / 0.7395 GB, free: 176 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.6914, allocations: 20 kB / 0.7395 GB, free: 156 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.6931, allocations: 1.104 MB / 0.7406 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003866/0.697, allocations: 2.536 MB / 0.7431 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.6983, allocations: 0.7375 MB / 0.7438 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00053/0.6989, allocations: 290.7 kB / 0.7441 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.538e-05/0.699, allocations: 32.61 kB / 0.7441 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008241/0.6998, allocations: 451.2 kB / 0.7445 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.064e-06/0.6998, allocations: 0 / 0.7445 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.003073/0.7029, allocations: 1.127 MB / 0.7456 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.703, allocations: 196.6 kB / 0.7458 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.7037, allocations: 0.594 MB / 0.7464 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.79e-05/0.7038, allocations: 41.7 kB / 0.7464 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/0.7041, allocations: 384.2 kB / 0.7468 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.7044, allocations: 252.2 kB / 0.747 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.7045, allocations: 65.69 kB / 0.7471 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.7047, allocations: 386.7 kB / 0.7475 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/0.7052, allocations: 253.9 kB / 0.7477 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/0.7058, allocations: 351 kB / 0.7481 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.7069, allocations: 0.6033 MB / 0.7486 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7069, allocations: 0 / 0.7486 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001855/0.7088, allocations: 0.8177 MB / 0.7494 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.7088, allocations: 12.09 kB / 0.7495 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7088, allocations: 0 / 0.7495 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/0.7094, allocations: 84.77 kB / 0.7495 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/0.7101, allocations: 159.7 kB / 0.7497 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.7121, allocations: 1.523 MB / 0.7512 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006561/0.7128, allocations: 95.36 kB / 0.7513 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/0.7129, allocations: 31.97 kB / 0.7513 GB, free: 3.715 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003753/0.7133, allocations: 249.8 kB / 0.7515 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.7134, allocations: 91 kB / 0.7516 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.7157, allocations: 1.034 MB / 0.7526 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.7157, allocations: 8 kB / 0.7526 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.7157, allocations: 0 / 0.7526 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.7158, allocations: 3.984 kB / 0.7526 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/0.7189, allocations: 1.892 MB / 0.7545 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7189, allocations: 0 / 0.7545 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005929/0.7195, allocations: 143.8 kB / 0.7546 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005342/0.7201, allocations: 96.69 kB / 0.7547 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.7201, allocations: 27.92 kB / 0.7547 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.722, allocations: 1.536 MB / 0.7562 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.722, allocations: 64 / 0.7562 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.724, allocations: 0.9414 MB / 0.7572 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/0.7244, allocations: 275.7 kB / 0.7574 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.7245, allocations: 16 kB / 0.7574 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006166/0.7251, allocations: 75.61 kB / 0.7575 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.7252, allocations: 64.84 kB / 0.7576 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.6e-05/0.7253, allocations: 31.98 kB / 0.7576 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005702/0.7259, allocations: 447 kB / 0.758 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7259, allocations: 0 / 0.758 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008415/0.7267, allocations: 295.3 kB / 0.7583 GB, free: 12.27 MB / 0.5919 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 (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001379/0.7281, allocations: 0.5876 MB / 0.7589 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.7299, allocations: 0.8001 MB / 0.7597 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.7299, allocations: 0 / 0.7597 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009321/0.7309, allocations: 0.5002 MB / 0.7602 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.7323, allocations: 256.5 kB / 0.7604 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.7367, allocations: 2.159 MB / 0.7625 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.7374, allocations: 1.008 MB / 0.7635 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009239/0.7384, allocations: 254.3 kB / 0.7637 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.7386, allocations: 95.39 kB / 0.7638 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of SimCode: time 1.373e-06/0.7386, allocations: 0 / 0.7638 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of Templates: time 0.02526/0.7639, allocations: 13.5 MB / 0.777 GB, free: 9.445 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)