Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 108.1 kB / 16.41 MB, free: 6.516 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.001348/0.001348, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00256/0.00256, allocations: 294.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 103.8 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4853, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04179/0.5271, allocations: 32.65 MB / 0.799 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01947/0.5466, allocations: 10.29 MB / 0.809 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00355/0.5502, allocations: 151.2 kB / 0.8092 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0103/0.5605, allocations: 3.749 MB / 0.8128 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006317/0.5668, allocations: 1.952 MB / 0.8147 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006887/0.5737, allocations: 2.138 MB / 0.8168 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0113/0.585, allocations: 7.325 MB / 0.824 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.5959, allocations: 7.038 MB / 0.8308 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006372/0.6023, allocations: 3.229 MB / 0.834 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006859/0.6092, allocations: 3.481 MB / 0.8374 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002059/0.6112, allocations: 0.6445 MB / 0.838 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005599/0.6168, allocations: 1.775 MB / 0.8398 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004507/0.6213, allocations: 2.615 MB / 0.8423 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00618/0.6275, allocations: 2.898 MB / 0.8451 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0158/0.6433, allocations: 10.13 MB / 0.855 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.6433, allocations: 0 / 0.855 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6433, allocations: 0 / 0.855 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003691/0.6437, allocations: 0 / 0.855 GB, free: 9.52 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01512/0.6588, allocations: 5.124 MB / 0.86 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.6588, allocations: 12.03 kB / 0.86 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006468/0.6653, allocations: 0.9774 MB / 0.861 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008731/0.674, allocations: 3.055 MB / 0.864 GB, free: 216 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004821/0.6745, allocations: 353.8 kB / 0.8643 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002211/0.6767, allocations: 456.3 kB / 0.8648 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02118/0.6979, allocations: 7.675 MB / 0.8723 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000293/0.6982, allocations: 35.75 kB / 0.8723 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001534/0.6997, allocations: 196 kB / 0.8725 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005314/0.7003, allocations: 313 kB / 0.8728 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.7142, allocations: 5.71 MB / 0.8783 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04535/0.7595, allocations: 34.88 MB / 0.9124 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/0.7625, allocations: 2.005 MB / 0.9144 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.7641, allocations: 1.143 MB / 0.9155 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/0.7642, allocations: 17.25 kB / 0.9155 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.7642, allocations: 47.81 kB / 0.9156 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=133): time 2.825e-06/0.7642, allocations: 0 / 0.9156 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of matching and sorting (n=136): time 0.01443/0.7787, allocations: 7.11 MB / 0.9225 GB, free: 352 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.7787, allocations: 68.72 kB / 0.9226 GB, free: 272 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.7809, allocations: 1.48 MB / 0.924 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.781, allocations: 45.7 kB / 0.9241 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.7824, allocations: 2.077 MB / 0.9261 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004746/0.7829, allocations: 0.4996 MB / 0.9266 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005516/0.7835, allocations: 351.3 kB / 0.9269 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7836, allocations: 301.1 kB / 0.9272 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.7849, allocations: 0.9174 MB / 0.9281 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.7868, allocations: 1.597 MB / 0.9296 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003478/0.7903, allocations: 2.737 MB / 0.9323 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.7903, allocations: 8 kB / 0.9323 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006342/0.7966, allocations: 3.508 MB / 0.9358 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.7967, allocations: 14.5 kB / 0.9358 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/0.7967, allocations: 24 kB / 0.9358 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/0.7993, allocations: 0.9082 MB / 0.9367 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.8005, allocations: 347.4 kB / 0.937 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/0.8238, allocations: 23.12 MB / 0.9596 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.8255, allocations: 99.95 kB / 0.9597 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.8256, allocations: 84 kB / 0.9598 GB, free: 7.691 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002803/0.8284, allocations: 1.608 MB / 0.9613 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.8288, allocations: 214.6 kB / 0.9615 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005504/0.8343, allocations: 2.963 MB / 0.9644 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.8344, allocations: 12 kB / 0.9644 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/0.8344, allocations: 15.94 kB / 0.9645 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.8344, allocations: 7.969 kB / 0.9645 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4426/1.277, allocations: 7.303 MB / 0.9716 GB, free: 180.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.277, allocations: 8.469 kB / 0.9716 GB, free: 180.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008648/1.278, allocations: 175.4 kB / 0.9718 GB, free: 180.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002488/1.28, allocations: 0.823 MB / 0.9726 GB, free: 180.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-05/1.28, allocations: 29.72 kB / 0.9726 GB, free: 180.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01623/1.297, allocations: 21.96 MB / 0.9941 GB, free: 161.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/1.297, allocations: 11.88 kB / 0.9941 GB, free: 161.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004738/1.301, allocations: 3.016 MB / 0.997 GB, free: 160.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.302, allocations: 465.7 kB / 0.9975 GB, free: 159.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/1.303, allocations: 38.3 kB / 0.9975 GB, free: 159.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008913/1.304, allocations: 68.55 kB / 0.9976 GB, free: 159.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004281/1.304, allocations: 125.7 kB / 0.9977 GB, free: 159.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.524e-05/1.304, allocations: 36.53 kB / 0.9977 GB, free: 159.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001239/1.305, allocations: 0.9843 MB / 0.9987 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.305, allocations: 0 / 0.9987 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002882/1.308, allocations: 0.787 MB / 0.9994 GB, free: 159.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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002284/1.308, allocations: 147.9 kB / 0.9996 GB, free: 159.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004735/1.313, allocations: 3.911 MB / 1.003 GB, free: 157 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/1.313, allocations: 3.938 kB / 1.003 GB, free: 157 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002986/1.316, allocations: 2.665 MB / 1.006 GB, free: 155.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/1.319, allocations: 0.7316 MB / 1.007 GB, free: 154.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/1.33, allocations: 7.22 MB / 1.014 GB, free: 149.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002549/1.332, allocations: 3.109 MB / 1.017 GB, free: 147.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001336/1.334, allocations: 454 kB / 1.017 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/1.334, allocations: 123.2 kB / 1.017 GB, free: 146.6 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/1.334, allocations: 0 / 1.017 GB, free: 146.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.05695/1.391, allocations: 36.53 MB / 1.053 GB, free: 110.6 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)