Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 104.5 kB / 15.98 MB, free: 6.352 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.001028/0.001028, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.363/1.363, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.648/1.648, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001362/0.001362, allocations: 70.59 kB / 0.6717 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2093, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03591/0.2452, allocations: 34.38 MB / 0.8171 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01762/0.2629, allocations: 11.52 MB / 0.8284 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004023/0.267, allocations: 151.2 kB / 0.8285 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.2772, allocations: 4.003 MB / 0.8324 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006331/0.2835, allocations: 1.817 MB / 0.8342 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006351/0.2899, allocations: 2.182 MB / 0.8363 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01104/0.301, allocations: 8.487 MB / 0.8446 GB, free: 15.17 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02102/0.3221, allocations: 13.43 MB / 0.8577 GB, free: 1.633 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00675/0.3289, allocations: 3.801 MB / 0.8614 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007103/0.336, allocations: 4.389 MB / 0.8657 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002462/0.3385, allocations: 0.7773 MB / 0.8665 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005938/0.3445, allocations: 2.036 MB / 0.8685 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005238/0.3498, allocations: 3.057 MB / 0.8714 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007376/0.3572, allocations: 3.396 MB / 0.8748 GB, free: 132 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.3699, allocations: 10.26 MB / 0.8848 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.37, allocations: 0 / 0.8848 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.954e-06/0.37, allocations: 0 / 0.8848 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000394/0.3704, allocations: 4 kB / 0.8848 GB, free: 5.844 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01642/0.3868, allocations: 5.799 MB / 0.8904 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.3869, allocations: 8.031 kB / 0.8904 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007406/0.3943, allocations: 1.064 MB / 0.8915 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006872/0.4012, allocations: 3.251 MB / 0.8947 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004197/0.4017, allocations: 419.5 kB / 0.8951 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002229/0.4039, allocations: 0.5354 MB / 0.8956 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02078/0.4247, allocations: 9.079 MB / 0.9045 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000226/0.425, allocations: 27.69 kB / 0.9045 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.4262, allocations: 236 kB / 0.9047 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003776/0.4265, allocations: 350.8 kB / 0.905 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.4408, allocations: 6.83 MB / 0.9117 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4323/0.8731, allocations: 40.1 MB / 0.9509 GB, free: 94.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/0.8767, allocations: 3.113 MB / 0.9539 GB, free: 92.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/0.8793, allocations: 1.974 MB / 0.9558 GB, free: 92.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.8795, allocations: 20.23 kB / 0.9559 GB, free: 92.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.8795, allocations: 53.06 kB / 0.9559 GB, free: 91.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 4.088e-06/0.8795, allocations: 0 / 0.9559 GB, free: 91.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.0253/0.9048, allocations: 9.986 MB / 0.9657 GB, free: 88.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.9049, allocations: 70.84 kB / 0.9657 GB, free: 88.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.9071, allocations: 1.531 MB / 0.9672 GB, free: 87.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/0.9073, allocations: 51.11 kB / 0.9673 GB, free: 87.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.9084, allocations: 2.256 MB / 0.9695 GB, free: 85.58 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000587/0.909, allocations: 0.6327 MB / 0.9701 GB, free: 85.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005906/0.9096, allocations: 408.1 kB / 0.9705 GB, free: 84.81 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.9097, allocations: 301.1 kB / 0.9708 GB, free: 84.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.9111, allocations: 1.178 MB / 0.9719 GB, free: 83.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.913, allocations: 1.884 MB / 0.9738 GB, free: 82.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/0.9165, allocations: 3.363 MB / 0.977 GB, free: 79.99 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.9165, allocations: 7.656 kB / 0.9771 GB, free: 79.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007048/0.9236, allocations: 4.588 MB / 0.9815 GB, free: 77.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.9237, allocations: 11.72 kB / 0.9815 GB, free: 77.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.9237, allocations: 27.47 kB / 0.9816 GB, free: 77.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003518/0.9272, allocations: 1.595 MB / 0.9831 GB, free: 76.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.9285, allocations: 358.5 kB / 0.9835 GB, free: 76.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01814/0.9466, allocations: 18.59 MB / 1.002 GB, free: 63.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.9486, allocations: 119.5 kB / 1.002 GB, free: 63.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.9489, allocations: 98.56 kB / 1.002 GB, free: 63.16 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002695/0.9516, allocations: 1.903 MB / 1.004 GB, free: 62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005169/0.9521, allocations: 219.6 kB / 1.004 GB, free: 61.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005702/0.9578, allocations: 4.1 MB / 1.008 GB, free: 57.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.9578, allocations: 23.98 kB / 1.008 GB, free: 57.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-05/0.9579, allocations: 16 kB / 1.008 GB, free: 57.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/0.9579, allocations: 7.969 kB / 1.008 GB, free: 57.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.9708, allocations: 9.471 MB / 1.017 GB, free: 48.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.9708, allocations: 7.984 kB / 1.017 GB, free: 48.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/0.9716, allocations: 184.2 kB / 1.017 GB, free: 47.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003031/0.9746, allocations: 1.363 MB / 1.019 GB, free: 46.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/0.9748, allocations: 39.98 kB / 1.019 GB, free: 46.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/0.9911, allocations: 17.35 MB / 1.036 GB, free: 28.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.9912, allocations: 8 kB / 1.036 GB, free: 28.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005795/0.997, allocations: 4.061 MB / 1.04 GB, free: 24.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.9981, allocations: 0.5333 MB / 1.04 GB, free: 23.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003787/0.9985, allocations: 39.98 kB / 1.04 GB, free: 23.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008915/0.9994, allocations: 83.89 kB / 1.04 GB, free: 23.79 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004013/0.9998, allocations: 165.7 kB / 1.04 GB, free: 23.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.399e-05/0.9999, allocations: 48 kB / 1.041 GB, free: 23.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001054/1.001, allocations: 1.001 MB / 1.041 GB, free: 22.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.001, allocations: 0 / 1.041 GB, free: 22.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002981/1.004, allocations: 0.9844 MB / 1.042 GB, free: 21.57 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002599/1.004, allocations: 155 kB / 1.043 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007029/1.011, allocations: 5.2 MB / 1.048 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.011, allocations: 3.938 kB / 1.048 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003417/1.015, allocations: 2.662 MB / 1.05 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/1.018, allocations: 0.7848 MB / 1.051 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/1.033, allocations: 11.78 MB / 1.063 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005205/1.038, allocations: 3.666 MB / 1.066 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005418/1.039, allocations: 131.4 kB / 1.066 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of SimCode: time 1.042e-06/1.039, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.1793/1.218, allocations: 159.4 MB / 1.222 GB, free: 13.58 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)