Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001865/0.001865, allocations: 104.2 kB / 16.41 MB, free: 6.508 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.001943/0.001943, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002621/0.002621, allocations: 295.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002935/0.002935, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5162/0.5192, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04322/0.5624, allocations: 34.9 MB / 0.8012 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01983/0.5822, allocations: 11.51 MB / 0.8124 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003324/0.5855, allocations: 159.2 kB / 0.8125 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01088/0.5964, allocations: 4.295 MB / 0.8167 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006037/0.6025, allocations: 2.096 MB / 0.8188 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006366/0.6088, allocations: 2.405 MB / 0.8211 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01192/0.6208, allocations: 8.463 MB / 0.8294 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01272/0.6335, allocations: 8.408 MB / 0.8376 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007142/0.6406, allocations: 3.809 MB / 0.8413 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007037/0.6477, allocations: 4.179 MB / 0.8454 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.6495, allocations: 0.7812 MB / 0.8462 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004599/0.6541, allocations: 2.028 MB / 0.8482 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004629/0.6587, allocations: 3.141 MB / 0.8512 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007597/0.6663, allocations: 3.396 MB / 0.8545 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01514/0.6815, allocations: 12.01 MB / 0.8663 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6815, allocations: 0 / 0.8663 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6815, allocations: 4 kB / 0.8663 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003449/0.6818, allocations: 0 / 0.8663 GB, free: 13.93 MB / 0.6387 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.01617/0.698, allocations: 5.946 MB / 0.8721 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.698, allocations: 8.031 kB / 0.8721 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007089/0.7051, allocations: 1.086 MB / 0.8732 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008364/0.7135, allocations: 3.463 MB / 0.8765 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003818/0.7139, allocations: 415.5 kB / 0.8769 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001829/0.7157, allocations: 0.5354 MB / 0.8775 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/0.7329, allocations: 9.087 MB / 0.8863 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.7331, allocations: 31.78 kB / 0.8864 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005678/0.7336, allocations: 243.9 kB / 0.8866 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003801/0.734, allocations: 346.8 kB / 0.8869 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/0.7464, allocations: 6.83 MB / 0.8936 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04731/0.7938, allocations: 39.85 MB / 0.9325 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/0.7978, allocations: 2.913 MB / 0.9353 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002698/0.8005, allocations: 1.782 MB / 0.9371 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.572e-05/0.8006, allocations: 18 kB / 0.9371 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.8006, allocations: 52.56 kB / 0.9372 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=179): time 3.306e-06/0.8006, allocations: 0 / 0.9372 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.02555/0.8262, allocations: 10 MB / 0.9469 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.8262, allocations: 69.41 kB / 0.947 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.8286, allocations: 1.526 MB / 0.9485 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001766/0.8287, allocations: 53.7 kB / 0.9485 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001837/0.8306, allocations: 2.324 MB / 0.9508 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006987/0.8313, allocations: 0.6623 MB / 0.9514 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00065/0.8319, allocations: 412.1 kB / 0.9518 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.8321, allocations: 317 kB / 0.9521 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.8339, allocations: 1.172 MB / 0.9533 GB, free: 312 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/0.8363, allocations: 1.893 MB / 0.9551 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004541/0.8408, allocations: 3.36 MB / 0.9584 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/0.8408, allocations: 8 kB / 0.9584 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008146/0.849, allocations: 4.535 MB / 0.9629 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.849, allocations: 16.19 kB / 0.9629 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-05/0.849, allocations: 28 kB / 0.9629 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003899/0.8529, allocations: 1.579 MB / 0.9644 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.8542, allocations: 355.3 kB / 0.9648 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4711/1.325, allocations: 18.6 MB / 0.9829 GB, free: 173.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/1.327, allocations: 115.6 kB / 0.983 GB, free: 173.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/1.327, allocations: 102.6 kB / 0.9831 GB, free: 173.2 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.002651/1.33, allocations: 1.888 MB / 0.985 GB, free: 172.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004175/1.33, allocations: 238.5 kB / 0.9852 GB, free: 172.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005763/1.336, allocations: 4.041 MB / 0.9892 GB, free: 170.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/1.336, allocations: 19.56 kB / 0.9892 GB, free: 170.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.818e-05/1.336, allocations: 15.66 kB / 0.9892 GB, free: 170.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/1.336, allocations: 11.62 kB / 0.9892 GB, free: 170.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/1.348, allocations: 9.408 MB / 0.9984 GB, free: 166.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/1.348, allocations: 2.906 kB / 0.9984 GB, free: 166.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/1.349, allocations: 184.4 kB / 0.9986 GB, free: 166.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002985/1.352, allocations: 1.356 MB / 0.9999 GB, free: 166.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/1.352, allocations: 35.38 kB / 0.9999 GB, free: 166.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01603/1.368, allocations: 17.38 MB / 1.017 GB, free: 149.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.368, allocations: 8.438 kB / 1.017 GB, free: 149.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005526/1.373, allocations: 4.028 MB / 1.021 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.375, allocations: 0.5426 MB / 1.021 GB, free: 144.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/1.375, allocations: 36 kB / 1.021 GB, free: 144.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.376, allocations: 94.7 kB / 1.022 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000375/1.376, allocations: 170.5 kB / 1.022 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.315e-05/1.376, allocations: 48 kB / 1.022 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001155/1.378, allocations: 1.005 MB / 1.023 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.378, allocations: 0 / 1.023 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002743/1.38, allocations: 0.9882 MB / 1.024 GB, free: 142.4 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.0002365/1.381, allocations: 143.1 kB / 1.024 GB, free: 142.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00545/1.386, allocations: 4.15 MB / 1.028 GB, free: 138.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.386, allocations: 3.938 kB / 1.028 GB, free: 138.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003377/1.389, allocations: 2.585 MB / 1.03 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/1.392, allocations: 0.7847 MB / 1.031 GB, free: 134.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.405, allocations: 8.742 MB / 1.04 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/1.407, allocations: 3.569 MB / 1.043 GB, free: 122.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001313/1.409, allocations: 472 kB / 1.044 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/1.409, allocations: 119.4 kB / 1.044 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.012e-06/1.409, allocations: 0 / 1.044 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.06212/1.471, allocations: 44.97 MB / 1.088 GB, free: 77.3 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)