Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001339, allocations: 198.3 kB / 16.64 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001599, allocations: 70.92 kB / 0.6723 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2719, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009969/0.2819, allocations: 6.699 MB / 0.7907 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005327/0.2873, allocations: 3.056 MB / 0.7937 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005977/0.2879, allocations: 23.88 kB / 0.7937 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.2905, allocations: 0.9599 MB / 0.7946 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.292, allocations: 0.4934 MB / 0.7951 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.2933, allocations: 423.1 kB / 0.7955 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.2947, allocations: 1.232 MB / 0.7967 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009343/0.2957, allocations: 0.6505 MB / 0.7973 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006446/0.2963, allocations: 474.3 kB / 0.7978 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006701/0.297, allocations: 0.5215 MB / 0.7983 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.352e-05/0.2971, allocations: 64 kB / 0.7984 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007664/0.2979, allocations: 379.3 kB / 0.7987 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.2982, allocations: 311.2 kB / 0.799 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004018/0.2986, allocations: 461.6 kB / 0.7995 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.2998, allocations: 1.211 MB / 0.8006 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2998, allocations: 0 / 0.8006 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2998, allocations: 0 / 0.8006 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.2999, allocations: 0 / 0.8006 GB, free: 11.78 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001906/0.3018, allocations: 1.161 MB / 0.8018 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3018, allocations: 8.031 kB / 0.8018 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.3033, allocations: 239.6 kB / 0.802 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009085/0.3042, allocations: 0.592 MB / 0.8026 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.3043, allocations: 49.67 kB / 0.8026 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.3044, allocations: 64.36 kB / 0.8027 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.3059, allocations: 1.081 MB / 0.8038 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.3059, allocations: 7.938 kB / 0.8038 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.306, allocations: 31.98 kB / 0.8038 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.3061, allocations: 85.25 kB / 0.8039 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.3072, allocations: 0.7581 MB / 0.8046 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005519/0.3128, allocations: 5.862 MB / 0.8103 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009929/0.3138, allocations: 0.5516 MB / 0.8109 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004179/0.3142, allocations: 333.2 kB / 0.8112 GB, free: 340 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.3143, allocations: 4.438 kB / 0.8112 GB, free: 336 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.3143, allocations: 42.98 kB / 0.8112 GB, free: 284 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.354e-06/0.3143, allocations: 4 kB / 0.8113 GB, free: 280 kB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003927/0.3182, allocations: 1.978 MB / 0.8132 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.3183, allocations: 59.84 kB / 0.8132 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.3189, allocations: 0.5586 MB / 0.8138 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.3189, allocations: 37.64 kB / 0.8138 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.3192, allocations: 422.9 kB / 0.8142 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.3193, allocations: 165.6 kB / 0.8144 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.3195, allocations: 122.6 kB / 0.8145 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.3197, allocations: 378.7 kB / 0.8149 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.3201, allocations: 277.8 kB / 0.8151 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.3207, allocations: 0.4892 MB / 0.8156 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009232/0.3216, allocations: 0.8016 MB / 0.8164 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3216, allocations: 0 / 0.8164 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001688/0.3233, allocations: 1.095 MB / 0.8175 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3234, allocations: 8.938 kB / 0.8175 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.3234, allocations: 8 kB / 0.8175 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008332/0.3242, allocations: 283.2 kB / 0.8177 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.3247, allocations: 127.8 kB / 0.8179 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00642/0.3311, allocations: 7.133 MB / 0.8248 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007695/0.3319, allocations: 35.97 kB / 0.8249 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/0.332, allocations: 28 kB / 0.8249 GB, free: 1.375 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004712/0.3325, allocations: 264.8 kB / 0.8251 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.3326, allocations: 75.22 kB / 0.8252 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.3341, allocations: 0.8846 MB / 0.8261 GB, free: 132 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3341, allocations: 4 kB / 0.8261 GB, free: 128 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3341, allocations: 4 kB / 0.8261 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3341, allocations: 0 / 0.8261 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.3367, allocations: 1.724 MB / 0.8278 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3367, allocations: 4 kB / 0.8278 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.337, allocations: 59.89 kB / 0.8278 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007169/0.3377, allocations: 283.4 kB / 0.8281 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.3377, allocations: 8 kB / 0.8281 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006426/0.3442, allocations: 7.111 MB / 0.8351 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3442, allocations: 4.031 kB / 0.8351 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.346, allocations: 0.9877 MB / 0.836 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.3463, allocations: 196.1 kB / 0.8362 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.161e-05/0.3464, allocations: 19.98 kB / 0.8362 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.3468, allocations: 31.91 kB / 0.8363 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.3469, allocations: 44.02 kB / 0.8363 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.3469, allocations: 16 kB / 0.8363 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004894/0.3474, allocations: 383.1 kB / 0.8367 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3474, allocations: 0 / 0.8367 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001003/0.3485, allocations: 224 kB / 0.8369 GB, free: 4.332 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002364/0.3487, allocations: 119.2 kB / 0.837 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002048/0.3508, allocations: 1.279 MB / 0.8383 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.3508, allocations: 4 kB / 0.8383 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.352, allocations: 0.8777 MB / 0.8391 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.353, allocations: 229.5 kB / 0.8393 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.3555, allocations: 1.321 MB / 0.8406 GB, free: 356 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009343/0.3565, allocations: 1.013 MB / 0.8416 GB, free: 15.31 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004401/0.3569, allocations: 118 kB / 0.8417 GB, free: 15.19 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.3571, allocations: 39.44 kB / 0.8418 GB, free: 15.15 MB / 0.67 GB Notification: Performance of SimCode: time 3.166e-06/0.3571, allocations: 0 / 0.8418 GB, free: 15.15 MB / 0.67 GB Notification: Performance of Templates: time 0.02172/0.3788, allocations: 11.18 MB / 0.8527 GB, free: 4.109 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)