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.001063/0.001064, allocations: 101.3 kB / 16.37 MB, free: 6.469 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.001018/0.001018, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.343/1.343, 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.7983/0.7983, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.84 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.397, allocations: 80.91 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.01061/0.4076, allocations: 7.107 MB / 0.5927 GB, free: 19.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1789/0.5865, allocations: 155.5 MB / 0.7446 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.5879, allocations: 31.88 kB / 0.7446 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009468/0.5889, allocations: 281.1 kB / 0.7449 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.5914, allocations: 0.7046 MB / 0.7456 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.5942, allocations: 1.217 MB / 0.7468 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003863/0.598, allocations: 4.063 MB / 0.7507 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3336/0.9316, allocations: 2.639 MB / 0.7533 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.9343, allocations: 1.638 MB / 0.7549 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.936, allocations: 1.734 MB / 0.7566 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004787/0.9364, allocations: 346.9 kB / 0.7569 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.9383, allocations: 0.9374 MB / 0.7578 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007217/0.939, allocations: 0.889 MB / 0.7587 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.9409, allocations: 1.713 MB / 0.7604 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006061/0.947, allocations: 4.647 MB / 0.7649 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.947, allocations: 0 / 0.7649 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.947, allocations: 0.7812 kB / 0.7649 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001156/0.9471, allocations: 2.719 kB / 0.7649 GB, free: 1.297 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.007869/0.955, allocations: 3.865 MB / 0.7687 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.9551, allocations: 10.86 kB / 0.7687 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009138/0.9642, allocations: 1.293 MB / 0.77 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004009/0.9682, allocations: 1.914 MB / 0.7718 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.9684, allocations: 235.7 kB / 0.7721 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004694/0.9689, allocations: 292.6 kB / 0.7724 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007743/0.9766, allocations: 4.209 MB / 0.7765 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.942e-05/0.9767, allocations: 4.219 kB / 0.7765 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000292/0.977, allocations: 126.8 kB / 0.7766 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.9771, allocations: 76.97 kB / 0.7767 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009924/0.987, allocations: 4.565 MB / 0.7811 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02361/1.011, allocations: 12.76 MB / 0.7936 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/1.021, allocations: 3.768 MB / 0.7973 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003455/1.024, allocations: 1.555 MB / 0.7988 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/1.026, allocations: 1.087 MB / 0.7998 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004106/1.03, allocations: 1.933 MB / 0.8017 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=223): time 6.052e-06/1.03, allocations: 2.188 kB / 0.8017 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of matching and sorting (n=223): time 0.01301/1.043, allocations: 4.907 MB / 0.8065 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/1.043, allocations: 259.7 kB / 0.8068 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/1.047, allocations: 1.9 MB / 0.8086 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004615/1.048, allocations: 65.86 kB / 0.8087 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/1.049, allocations: 1.221 MB / 0.8099 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007967/1.049, allocations: 0.746 MB / 0.8106 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008617/1.05, allocations: 0.5261 MB / 0.8111 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.05, allocations: 305.1 kB / 0.8114 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003305/1.054, allocations: 1.452 MB / 0.8128 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003738/1.057, allocations: 1.755 MB / 0.8145 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007551/1.065, allocations: 3.186 MB / 0.8177 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/1.065, allocations: 8 kB / 0.8177 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.009941/1.075, allocations: 3.73 MB / 0.8213 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/1.075, allocations: 8 kB / 0.8213 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/1.075, allocations: 8 kB / 0.8213 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006537/1.076, allocations: 93.23 kB / 0.8214 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/1.08, allocations: 0.7202 MB / 0.8221 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/1.082, allocations: 1.641 MB / 0.8237 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004075/1.086, allocations: 441.4 kB / 0.8241 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006028/1.087, allocations: 139.8 kB / 0.8243 GB, free: 10.19 MB / 0.6075 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.002555/1.089, allocations: 0.7949 MB / 0.825 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/1.09, allocations: 229.2 kB / 0.8253 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.102, allocations: 4.024 MB / 0.8292 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/1.102, allocations: 24 kB / 0.8292 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.102, allocations: 0 / 0.8292 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-05/1.102, allocations: 19.89 kB / 0.8292 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/1.119, allocations: 7.173 MB / 0.8362 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.119, allocations: 0 / 0.8362 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003198/1.122, allocations: 0.5943 MB / 0.8368 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005179/1.122, allocations: 80.78 kB / 0.8369 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002819/1.123, allocations: 67.94 kB / 0.837 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/1.125, allocations: 1.66 MB / 0.8386 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.125, allocations: 4.781 kB / 0.8386 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008647/1.133, allocations: 3.323 MB / 0.8418 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/1.136, allocations: 0.6808 MB / 0.8425 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008929/1.136, allocations: 63.69 kB / 0.8426 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002837/1.139, allocations: 278.4 kB / 0.8428 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/1.14, allocations: 149.8 kB / 0.843 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002454/1.14, allocations: 91.94 kB / 0.8431 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002615/1.143, allocations: 1.43 MB / 0.8444 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/1.143, allocations: 0 / 0.8444 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003176/1.146, allocations: 0.8955 MB / 0.8453 GB, free: 4.355 MB / 0.6231 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.001986/1.148, allocations: 0.6789 MB / 0.846 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008566/1.156, allocations: 3.391 MB / 0.8493 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/1.156, allocations: 0 / 0.8493 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004357/1.161, allocations: 1.712 MB / 0.851 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/1.165, allocations: 454.9 kB / 0.8514 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/1.18, allocations: 6.244 MB / 0.8575 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/1.183, allocations: 2.201 MB / 0.8596 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003991/1.187, allocations: 0.9533 MB / 0.8606 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/1.188, allocations: 299.2 kB / 0.8609 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/1.188, allocations: 3.562 kB / 0.8609 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of Templates: time 0.07075/1.259, allocations: 39.02 MB / 0.899 GB, free: 14.07 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)