Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.0009514/0.0009517, allocations: 99.86 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.0009624/0.0009626, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.674/1.674, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0006179/0.0006182, allocations: 20.09 kB / 0.6736 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2671, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006504/0.2736, allocations: 5.784 MB / 0.7928 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004258/0.2779, allocations: 2.914 MB / 0.7956 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005425/0.2785, allocations: 23.81 kB / 0.7956 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.2789, allocations: 119.1 kB / 0.7957 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.28, allocations: 414.7 kB / 0.7961 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009903/0.281, allocations: 340.3 kB / 0.7965 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.2823, allocations: 0.7389 MB / 0.7972 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.2841, allocations: 0.9314 MB / 0.7981 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006328/0.2848, allocations: 358.7 kB / 0.7984 GB, free: 320 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006544/0.2855, allocations: 398.5 kB / 0.7988 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.303e-05/0.2855, allocations: 36 kB / 0.7989 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.286, allocations: 147.8 kB / 0.799 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.2863, allocations: 247.2 kB / 0.7992 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.2865, allocations: 177.3 kB / 0.7994 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007846/0.2873, allocations: 0.8729 MB / 0.8003 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2873, allocations: 3.938 kB / 0.8003 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2873, allocations: 0 / 0.8003 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.2873, allocations: 0 / 0.8003 GB, free: 14.44 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.001602/0.2889, allocations: 1.004 MB / 0.8012 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.289, allocations: 12.03 kB / 0.8012 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.2903, allocations: 222.6 kB / 0.8015 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008829/0.2912, allocations: 0.5365 MB / 0.802 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.2912, allocations: 49.31 kB / 0.802 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-05/0.2913, allocations: 59.98 kB / 0.8021 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.2927, allocations: 1.069 MB / 0.8031 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.2928, allocations: 7.938 kB / 0.8031 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.2929, allocations: 32 kB / 0.8032 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/0.293, allocations: 89.25 kB / 0.8033 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.2941, allocations: 0.7426 MB / 0.804 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005198/0.2993, allocations: 5.921 MB / 0.8098 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009149/0.3002, allocations: 0.5475 MB / 0.8103 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.3003, allocations: 4.438 kB / 0.8103 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.3003, allocations: 46.98 kB / 0.8103 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.465e-06/0.3003, allocations: 0 / 0.8103 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003683/0.304, allocations: 1.98 MB / 0.8123 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3041, allocations: 55.84 kB / 0.8123 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.3047, allocations: 0.5625 MB / 0.8129 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.3047, allocations: 29.7 kB / 0.8129 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.305, allocations: 426.9 kB / 0.8133 GB, free: 300 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.3051, allocations: 165.6 kB / 0.8135 GB, free: 132 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.3052, allocations: 16 kB / 0.8135 GB, free: 116 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3053, allocations: 374.8 kB / 0.8139 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.3057, allocations: 269.8 kB / 0.8141 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.3062, allocations: 496.9 kB / 0.8146 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.3067, allocations: 342 kB / 0.8149 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3067, allocations: 0 / 0.8149 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001669/0.3084, allocations: 1.083 MB / 0.816 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3084, allocations: 8 kB / 0.816 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.3085, allocations: 4 kB / 0.816 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007867/0.3092, allocations: 283.4 kB / 0.8162 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.3097, allocations: 123.8 kB / 0.8164 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006127/0.3159, allocations: 6.705 MB / 0.8229 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/0.3166, allocations: 43.95 kB / 0.823 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.3167, allocations: 24 kB / 0.823 GB, free: 5.723 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004372/0.3171, allocations: 253.7 kB / 0.8232 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3172, allocations: 71.16 kB / 0.8233 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.3188, allocations: 0.8925 MB / 0.8242 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.3188, allocations: 4 kB / 0.8242 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3188, allocations: 4 kB / 0.8242 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3188, allocations: 3.984 kB / 0.8242 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/0.3214, allocations: 1.717 MB / 0.8258 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.3214, allocations: 4.312 kB / 0.8259 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.3217, allocations: 63.89 kB / 0.8259 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007087/0.3224, allocations: 275.3 kB / 0.8262 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.3224, allocations: 12 kB / 0.8262 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00589/0.3283, allocations: 6.682 MB / 0.8327 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3284, allocations: 0 / 0.8327 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.33, allocations: 1.064 MB / 0.8338 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.3303, allocations: 192.2 kB / 0.8339 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.662e-05/0.3304, allocations: 12 kB / 0.8339 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.3307, allocations: 27.97 kB / 0.834 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.489e-05/0.3308, allocations: 47.89 kB / 0.834 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.3309, allocations: 16 kB / 0.834 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004544/0.3313, allocations: 383.1 kB / 0.8344 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3313, allocations: 0 / 0.8344 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008384/0.3322, allocations: 224 kB / 0.8346 GB, free: 9.047 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001823/0.3324, allocations: 119.2 kB / 0.8347 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.3343, allocations: 1.264 MB / 0.836 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3343, allocations: 0 / 0.836 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.3355, allocations: 0.9009 MB / 0.8368 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008329/0.3364, allocations: 201.6 kB / 0.837 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.3385, allocations: 1.589 MB / 0.8386 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.3392, allocations: 1.028 MB / 0.8396 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003893/0.3396, allocations: 118 kB / 0.8397 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3397, allocations: 47.44 kB / 0.8397 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of SimCode: time 8.52e-07/0.3397, allocations: 0 / 0.8397 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of Templates: time 0.01718/0.3569, allocations: 10.28 MB / 0.8498 GB, free: 9.441 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: