Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009238/0.0009238, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009897/0.0009898, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8542/0.8542, allocations: 135.2 MB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 8.844 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1724, allocations: 82.31 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005023/0.1775, allocations: 3.495 MB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3995/0.577, allocations: 127.6 MB / 0.7152 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004595/0.5775, allocations: 16.94 kB / 0.7152 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.5778, allocations: 67.67 kB / 0.7153 GB, free: 15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.5789, allocations: 478.2 kB / 0.7157 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.5805, allocations: 0.6104 MB / 0.7163 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009692/0.5814, allocations: 0.7567 MB / 0.7171 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006247/0.5821, allocations: 476.4 kB / 0.7175 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004437/0.5825, allocations: 316.4 kB / 0.7178 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.5829, allocations: 299.9 kB / 0.7181 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.404e-05/0.583, allocations: 23.19 kB / 0.7181 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006903/0.5837, allocations: 309.2 kB / 0.7184 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.5839, allocations: 167.8 kB / 0.7186 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.584, allocations: 178.2 kB / 0.7188 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.5852, allocations: 1.078 MB / 0.7198 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5852, allocations: 4 kB / 0.7198 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5852, allocations: 0 / 0.7198 GB, free: 12.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.5852, allocations: 1.031 kB / 0.7198 GB, free: 12.96 MB / 0.545 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.001867/0.5871, allocations: 1.151 MB / 0.721 GB, free: 12.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.5871, allocations: 9.5 kB / 0.721 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008346/0.588, allocations: 196.9 kB / 0.7212 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009817/0.589, allocations: 0.681 MB / 0.7218 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.589, allocations: 63.41 kB / 0.7219 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.5891, allocations: 78.55 kB / 0.722 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.5905, allocations: 0.8802 MB / 0.7228 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.5905, allocations: 1 kB / 0.7228 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.001e-05/0.5906, allocations: 37.33 kB / 0.7228 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.5907, allocations: 20.38 kB / 0.7229 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.5923, allocations: 1.102 MB / 0.7239 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.5961, allocations: 2.523 MB / 0.7264 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.5973, allocations: 0.7523 MB / 0.7271 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.572e-05/0.5974, allocations: 33.48 kB / 0.7272 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007398/0.5981, allocations: 443.3 kB / 0.7276 GB, free: 9.008 MB / 0.545 GB Notification: Performance of pre-optimization done (n=76): time 1.953e-06/0.5982, allocations: 3.938 kB / 0.7276 GB, free: 9.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.002641/0.6008, allocations: 1.118 MB / 0.7287 GB, free: 8.539 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.6009, allocations: 197 kB / 0.7289 GB, free: 8.316 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/0.6015, allocations: 0.5936 MB / 0.7295 GB, free: 8.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.6016, allocations: 40.92 kB / 0.7295 GB, free: 8.008 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.6019, allocations: 380.8 kB / 0.7299 GB, free: 7.711 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.6021, allocations: 251.8 kB / 0.7301 GB, free: 7.512 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.6021, allocations: 18.59 kB / 0.7301 GB, free: 7.496 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6023, allocations: 380.2 kB / 0.7305 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.6027, allocations: 235.6 kB / 0.7307 GB, free: 7.074 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.6031, allocations: 335.8 kB / 0.731 GB, free: 6.902 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.6036, allocations: 282.5 kB / 0.7313 GB, free: 6.777 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.6036, allocations: 3.25 kB / 0.7313 GB, free: 6.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001481/0.6051, allocations: 0.7606 MB / 0.732 GB, free: 6.477 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6051, allocations: 5.594 kB / 0.732 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.6051, allocations: 7.469 kB / 0.7321 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005171/0.6056, allocations: 79.38 kB / 0.7321 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.6062, allocations: 152.7 kB / 0.7323 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.608, allocations: 1.531 MB / 0.7338 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.6085, allocations: 86.47 kB / 0.7339 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.6086, allocations: 31.39 kB / 0.7339 GB, free: 4.957 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (81): * Single equations (assignments): 80 * 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.0003331/0.6089, allocations: 253.4 kB / 0.7341 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.609, allocations: 82.86 kB / 0.7342 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.6111, allocations: 1.044 MB / 0.7352 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.6111, allocations: 12 kB / 0.7352 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6111, allocations: 2.578 kB / 0.7352 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.6111, allocations: 6.656 kB / 0.7352 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.6139, allocations: 1.893 MB / 0.7371 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6139, allocations: 4 kB / 0.7371 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/0.6145, allocations: 149.3 kB / 0.7372 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/0.6149, allocations: 84.34 kB / 0.7373 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.615, allocations: 22.77 kB / 0.7373 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.6166, allocations: 1.564 MB / 0.7389 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6166, allocations: 0 / 0.7389 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.6183, allocations: 0.9298 MB / 0.7398 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.6187, allocations: 275.7 kB / 0.74 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.6188, allocations: 16 kB / 0.7401 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000554/0.6193, allocations: 75.88 kB / 0.7401 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.6195, allocations: 56.91 kB / 0.7402 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.6195, allocations: 35.98 kB / 0.7402 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005026/0.62, allocations: 439 kB / 0.7406 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/0.62, allocations: 0 / 0.7406 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008548/0.6209, allocations: 299.2 kB / 0.7409 GB, free: 14.34 MB / 0.5606 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 (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.001197/0.6221, allocations: 0.5827 MB / 0.7415 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.6235, allocations: 0.7588 MB / 0.7422 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6235, allocations: 0 / 0.7422 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007529/0.6242, allocations: 0.4964 MB / 0.7427 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009524/0.6252, allocations: 233.8 kB / 0.7429 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.6287, allocations: 2.07 MB / 0.745 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.6292, allocations: 1.023 MB / 0.746 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007249/0.6299, allocations: 258.2 kB / 0.7462 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.6302, allocations: 107.4 kB / 0.7463 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.6302, allocations: 0 / 0.7463 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of Templates: time 0.02/0.6502, allocations: 13.1 MB / 0.7591 GB, free: 12.01 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: