Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 114.5 kB / 16.37 MB, free: 6.012 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.001662/0.001662, allocations: 193.4 kB / 17.31 MB, free: 5.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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8298/0.8298, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.89 kB / 0.5068 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4041, allocations: 80.9 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.008518/0.4127, allocations: 6.953 MB / 0.5925 GB, free: 19.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1719/0.5846, allocations: 155.7 MB / 0.7446 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/0.587, allocations: 31.81 kB / 0.7447 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.5881, allocations: 289.2 kB / 0.7449 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003518/0.5917, allocations: 0.7026 MB / 0.7456 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.5961, allocations: 1.289 MB / 0.7469 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006567/0.6027, allocations: 4.57 MB / 0.7513 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4203/1.023, allocations: 2.863 MB / 0.7541 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/1.027, allocations: 1.731 MB / 0.7558 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002871/1.03, allocations: 1.781 MB / 0.7576 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001046/1.031, allocations: 465.3 kB / 0.758 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/1.033, allocations: 1.061 MB / 0.759 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009217/1.034, allocations: 0.9937 MB / 0.76 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002946/1.037, allocations: 1.881 MB / 0.7619 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008043/1.045, allocations: 5.518 MB / 0.7672 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.045, allocations: 3.625 kB / 0.7672 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/1.045, allocations: 0 / 0.7672 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001916/1.046, allocations: 4.688 kB / 0.7673 GB, free: 1.453 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.01132/1.057, allocations: 3.875 MB / 0.771 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.057, allocations: 8.766 kB / 0.771 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009269/1.066, allocations: 1.277 MB / 0.7723 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005116/1.071, allocations: 2.127 MB / 0.7744 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/1.072, allocations: 231.9 kB / 0.7746 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/1.073, allocations: 287.9 kB / 0.7749 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/1.084, allocations: 4.454 MB / 0.7792 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.804e-05/1.084, allocations: 4.156 kB / 0.7792 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003672/1.084, allocations: 122.7 kB / 0.7793 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/1.084, allocations: 73.59 kB / 0.7794 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/1.095, allocations: 4.888 MB / 0.7842 GB, free: 14.84 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02706/1.122, allocations: 14 MB / 0.7979 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/1.133, allocations: 4.037 MB / 0.8018 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003906/1.137, allocations: 1.664 MB / 0.8034 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/1.139, allocations: 1.077 MB / 0.8045 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004763/1.143, allocations: 2.039 MB / 0.8065 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=214): time 6.162e-06/1.143, allocations: 0 / 0.8065 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=214): time 0.01319/1.157, allocations: 5.225 MB / 0.8116 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.157, allocations: 207.4 kB / 0.8118 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/1.16, allocations: 1.932 MB / 0.8137 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003858/1.16, allocations: 64.14 kB / 0.8137 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/1.161, allocations: 1.164 MB / 0.8148 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007237/1.162, allocations: 0.7228 MB / 0.8156 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009906/1.163, allocations: 0.5132 MB / 0.8161 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/1.163, allocations: 307.3 kB / 0.8163 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00352/1.166, allocations: 1.576 MB / 0.8179 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004001/1.17, allocations: 1.881 MB / 0.8197 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00743/1.178, allocations: 3.417 MB / 0.8231 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/1.178, allocations: 2.906 kB / 0.8231 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009509/1.187, allocations: 3.952 MB / 0.8269 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/1.188, allocations: 11.94 kB / 0.8269 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/1.188, allocations: 4 kB / 0.8269 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005882/1.188, allocations: 100.8 kB / 0.827 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00365/1.192, allocations: 0.694 MB / 0.8277 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/1.194, allocations: 1.696 MB / 0.8294 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003736/1.198, allocations: 437.5 kB / 0.8298 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003948/1.198, allocations: 131.8 kB / 0.8299 GB, free: 4.555 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.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 (273): * Single equations (assignments): 272 * 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.002187/1.2, allocations: 0.9282 MB / 0.8308 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00066/1.201, allocations: 213.3 kB / 0.831 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009681/1.211, allocations: 4.203 MB / 0.8351 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/1.211, allocations: 20 kB / 0.8351 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.211, allocations: 8 kB / 0.8352 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/1.211, allocations: 11.95 kB / 0.8352 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/1.227, allocations: 7.846 MB / 0.8428 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/1.227, allocations: 0 / 0.8428 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00288/1.23, allocations: 0.5798 MB / 0.8434 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/1.23, allocations: 79.69 kB / 0.8435 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002144/1.23, allocations: 67.94 kB / 0.8435 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/1.232, allocations: 1.714 MB / 0.8452 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.232, allocations: 3.188 kB / 0.8452 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008662/1.241, allocations: 3.467 MB / 0.8486 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/1.243, allocations: 0.7397 MB / 0.8493 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000661/1.244, allocations: 71.67 kB / 0.8494 GB, free: 368 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/1.246, allocations: 267.6 kB / 0.8496 GB, free: 100 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003591/1.247, allocations: 146 kB / 0.8498 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002293/1.247, allocations: 79.95 kB / 0.8499 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002301/1.249, allocations: 1.482 MB / 0.8513 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.8e-07/1.249, allocations: 0 / 0.8513 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002969/1.252, allocations: 0.8703 MB / 0.8522 GB, free: 13.5 MB / 0.6387 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,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 239 * 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.001677/1.254, allocations: 0.6842 MB / 0.8528 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008393/1.262, allocations: 3.587 MB / 0.8563 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.262, allocations: 4 kB / 0.8563 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003833/1.266, allocations: 1.797 MB / 0.8581 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/1.269, allocations: 439.5 kB / 0.8585 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/1.283, allocations: 6.254 MB / 0.8646 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/1.285, allocations: 2.25 MB / 0.8668 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004553/1.29, allocations: 0.9191 MB / 0.8677 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/1.291, allocations: 287.2 kB / 0.868 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of SimCode: time 8.51e-07/1.291, allocations: 0 / 0.868 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.07057/1.362, allocations: 40.35 MB / 0.9074 GB, free: 5.59 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)