Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005541/0.005541, allocations: 105.6 kB / 15.74 MB, free: 6.008 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.001198/0.001198, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.04/1.04, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 59.91 kB / 0.5858 GB, free: 3.141 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.4878, allocations: 80.92 MB / 0.6648 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.00929/0.4972, allocations: 7.109 MB / 0.6718 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.196/0.6932, allocations: 155.5 MB / 0.8237 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.6956, allocations: 31.81 kB / 0.8237 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.6973, allocations: 289.1 kB / 0.824 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00388/0.7012, allocations: 0.7138 MB / 0.8247 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.7051, allocations: 1.22 MB / 0.8259 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006438/0.7115, allocations: 4.067 MB / 0.8298 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004564/0.7161, allocations: 2.638 MB / 0.8324 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00378/0.7199, allocations: 1.687 MB / 0.8341 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002854/0.7228, allocations: 1.735 MB / 0.8358 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.7241, allocations: 340 kB / 0.8361 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.727, allocations: 0.9445 MB / 0.837 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.7285, allocations: 0.8915 MB / 0.8379 GB, free: 15.68 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003435/0.7319, allocations: 1.717 MB / 0.8395 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006602/0.7386, allocations: 4.635 MB / 0.8441 GB, free: 9.301 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7386, allocations: 0 / 0.8441 GB, free: 9.301 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7386, allocations: 0 / 0.8441 GB, free: 9.301 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001363/0.7387, allocations: 4 kB / 0.8441 GB, free: 9.297 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.009102/0.7478, allocations: 3.865 MB / 0.8479 GB, free: 5.363 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.7479, allocations: 12.03 kB / 0.8479 GB, free: 5.352 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/0.7579, allocations: 1.295 MB / 0.8491 GB, free: 4.051 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005174/0.7632, allocations: 1.914 MB / 0.851 GB, free: 2.082 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.7634, allocations: 226.1 kB / 0.8512 GB, free: 1.859 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006185/0.764, allocations: 296 kB / 0.8515 GB, free: 1.57 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009867/0.7739, allocations: 4.216 MB / 0.8556 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.191e-05/0.774, allocations: 7.875 kB / 0.8556 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003294/0.7743, allocations: 124 kB / 0.8557 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.961e-05/0.7744, allocations: 72 kB / 0.8558 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/0.7857, allocations: 4.565 MB / 0.8603 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4828/1.269, allocations: 12.74 MB / 0.8727 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/1.28, allocations: 3.781 MB / 0.8764 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004066/1.284, allocations: 1.555 MB / 0.8779 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.285, allocations: 1.082 MB / 0.879 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004383/1.289, allocations: 1.938 MB / 0.8809 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=223): time 3.817e-06/1.289, allocations: 0 / 0.8809 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=223): time 0.01279/1.302, allocations: 4.905 MB / 0.8857 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/1.302, allocations: 260 kB / 0.8859 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/1.305, allocations: 1.908 MB / 0.8878 GB, free: 177.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002359/1.305, allocations: 62.52 kB / 0.8878 GB, free: 177.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008971/1.306, allocations: 1.221 MB / 0.889 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005997/1.307, allocations: 0.7437 MB / 0.8897 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008764/1.308, allocations: 0.5241 MB / 0.8903 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.056e-05/1.308, allocations: 302.6 kB / 0.8905 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003538/1.312, allocations: 1.446 MB / 0.892 GB, free: 174.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003675/1.315, allocations: 1.759 MB / 0.8937 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007057/1.322, allocations: 3.192 MB / 0.8968 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.056e-06/1.322, allocations: 1.906 kB / 0.8968 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.009244/1.332, allocations: 3.746 MB / 0.9005 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/1.332, allocations: 8.562 kB / 0.9005 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/1.332, allocations: 5.5 kB / 0.9005 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/1.332, allocations: 91.2 kB / 0.9006 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/1.336, allocations: 0.7155 MB / 0.9013 GB, free: 169.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/1.338, allocations: 1.636 MB / 0.9029 GB, free: 167.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003752/1.342, allocations: 442.7 kB / 0.9033 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004837/1.342, allocations: 133.5 kB / 0.9034 GB, free: 167.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 14 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,radSol[1].solAzi.outsidePolarCircle,radSol[2].solAzi.outsidePolarCircle,radSol[3].solAzi.outsidePolarCircle,radSol[4].solAzi.outsidePolarCircle,radSol[5].solAzi.outsidePolarCircle,radSol[6].solAzi.outsidePolarCircle,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 (282): * Single equations (assignments): 281 * 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.002233/1.344, allocations: 0.7964 MB / 0.9042 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/1.345, allocations: 225.2 kB / 0.9044 GB, free: 166.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/1.356, allocations: 4.019 MB / 0.9083 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/1.356, allocations: 24.12 kB / 0.9083 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-05/1.356, allocations: 0 / 0.9083 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.224e-05/1.356, allocations: 18.98 kB / 0.9084 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/1.371, allocations: 7.172 MB / 0.9154 GB, free: 159.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.371, allocations: 8 kB / 0.9154 GB, free: 159.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002772/1.374, allocations: 0.5889 MB / 0.9159 GB, free: 158.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004536/1.374, allocations: 84.78 kB / 0.916 GB, free: 158.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/1.374, allocations: 59.95 kB / 0.9161 GB, free: 158.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/1.376, allocations: 1.666 MB / 0.9177 GB, free: 156.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.376, allocations: 0 / 0.9177 GB, free: 156.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0073/1.383, allocations: 3.329 MB / 0.921 GB, free: 153.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/1.385, allocations: 0.677 MB / 0.9216 GB, free: 152.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006908/1.385, allocations: 59.69 kB / 0.9217 GB, free: 152.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002622/1.388, allocations: 276.5 kB / 0.9219 GB, free: 152.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/1.388, allocations: 157.7 kB / 0.9221 GB, free: 152 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001986/1.389, allocations: 91.88 kB / 0.9222 GB, free: 151.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002465/1.391, allocations: 1.43 MB / 0.9236 GB, free: 150.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.91e-07/1.391, allocations: 0 / 0.9236 GB, free: 150.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002825/1.394, allocations: 0.8897 MB / 0.9244 GB, free: 149.6 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (251): * Single equations (assignments): 248 * 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.001808/1.396, allocations: 0.687 MB / 0.9251 GB, free: 149.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007736/1.403, allocations: 3.38 MB / 0.9284 GB, free: 145.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.403, allocations: 384 / 0.9284 GB, free: 145.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003445/1.407, allocations: 1.724 MB / 0.9301 GB, free: 144 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/1.41, allocations: 464 kB / 0.9305 GB, free: 143.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/1.423, allocations: 6.24 MB / 0.9366 GB, free: 137.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/1.425, allocations: 2.205 MB / 0.9388 GB, free: 135.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003647/1.429, allocations: 0.9383 MB / 0.9397 GB, free: 134.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/1.43, allocations: 295.2 kB / 0.94 GB, free: 133.9 MB / 0.6856 GB Notification: Performance of SimCode: time 1.302e-06/1.43, allocations: 7.938 kB / 0.94 GB, free: 133.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.05653/1.487, allocations: 39.6 MB / 0.9787 GB, free: 94.48 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile (rm -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & ./IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)