Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0013/0.001301, allocations: 191.9 kB / 16.14 MB, free: 6.715 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.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 267.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9243/0.9243, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 93.03 kB / 0.5945 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1478, allocations: 86.98 MB / 0.6795 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03109/0.179, allocations: 30.46 MB / 0.7092 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.1976, allocations: 13.56 MB / 0.7224 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00252/0.2002, allocations: 131.2 kB / 0.7226 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.006732/0.207, allocations: 2.978 MB / 0.7255 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005856/0.2128, allocations: 2.472 MB / 0.7279 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004225/0.2171, allocations: 1.832 MB / 0.7297 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01077/0.2279, allocations: 10.44 MB / 0.7399 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01279/0.2407, allocations: 9.056 MB / 0.7487 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005335/0.246, allocations: 2.97 MB / 0.7516 GB, free: 6.965 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005279/0.2513, allocations: 3.434 MB / 0.755 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001347/0.2527, allocations: 396 kB / 0.7553 GB, free: 3.133 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003752/0.2564, allocations: 1.533 MB / 0.7568 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002949/0.2594, allocations: 2.159 MB / 0.759 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004516/0.2639, allocations: 2.644 MB / 0.7615 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009326/0.2733, allocations: 9.301 MB / 0.7706 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2733, allocations: 0 / 0.7706 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2733, allocations: 0 / 0.7706 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001579/0.2735, allocations: 7.938 kB / 0.7706 GB, free: 3.441 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.2781/0.5516, allocations: 5.136 MB / 0.7756 GB, free: 87.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.5516, allocations: 9.719 kB / 0.7757 GB, free: 87.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005894/0.5575, allocations: 0.9977 MB / 0.7766 GB, free: 87.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005606/0.5632, allocations: 2.892 MB / 0.7795 GB, free: 85.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.5634, allocations: 319.6 kB / 0.7798 GB, free: 85.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000672/0.5641, allocations: 420.6 kB / 0.7802 GB, free: 85.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009417/0.5735, allocations: 6.792 MB / 0.7868 GB, free: 82.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-05/0.5736, allocations: 16.42 kB / 0.7868 GB, free: 82.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003849/0.574, allocations: 187.3 kB / 0.787 GB, free: 82.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000796/0.5748, allocations: 376.2 kB / 0.7873 GB, free: 82.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007253/0.582, allocations: 5.113 MB / 0.7923 GB, free: 80.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02452/0.6066, allocations: 30.75 MB / 0.8224 GB, free: 53.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.6083, allocations: 1.385 MB / 0.8237 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.6097, allocations: 1.334 MB / 0.825 GB, free: 52.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-05/0.6098, allocations: 13.19 kB / 0.825 GB, free: 52.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.6098, allocations: 56.89 kB / 0.8251 GB, free: 52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=130): time 3.387e-06/0.6098, allocations: 0 / 0.8251 GB, free: 52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=199): time 0.07531/0.6851, allocations: 23.06 MB / 0.8476 GB, free: 32.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.6852, allocations: 73.41 kB / 0.8477 GB, free: 32.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.6872, allocations: 2.062 MB / 0.8497 GB, free: 30.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.6874, allocations: 61.7 kB / 0.8497 GB, free: 30.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007522/0.6881, allocations: 2.02 MB / 0.8517 GB, free: 28.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/0.6885, allocations: 0.6729 MB / 0.8524 GB, free: 27.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005899/0.6891, allocations: 412.1 kB / 0.8528 GB, free: 27.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.636e-05/0.6891, allocations: 301.1 kB / 0.8531 GB, free: 26.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.6907, allocations: 1.43 MB / 0.8544 GB, free: 25.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.6925, allocations: 2.013 MB / 0.8564 GB, free: 23.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/0.696, allocations: 3.688 MB / 0.86 GB, free: 19.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.696, allocations: 12 kB / 0.86 GB, free: 19.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.008587/0.7046, allocations: 5.665 MB / 0.8656 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.7046, allocations: 12 kB / 0.8656 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.7047, allocations: 20 kB / 0.8656 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00565/0.7103, allocations: 2.081 MB / 0.8676 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.7115, allocations: 379.3 kB / 0.868 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03174/0.7432, allocations: 35.49 MB / 0.9026 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/0.7456, allocations: 127.9 kB / 0.9028 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/0.7458, allocations: 91.94 kB / 0.9029 GB, free: 4.754 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.002326/0.7481, allocations: 1.509 MB / 0.9043 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/0.7485, allocations: 280.7 kB / 0.9046 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009618/0.7581, allocations: 5.213 MB / 0.9097 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.7581, allocations: 20 kB / 0.9097 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/0.7582, allocations: 16.84 kB / 0.9097 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.7582, allocations: 11.97 kB / 0.9097 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/0.7753, allocations: 9.684 MB / 0.9192 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/0.7754, allocations: 8 kB / 0.9192 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008447/0.7762, allocations: 215.6 kB / 0.9194 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006144/0.7824, allocations: 1.849 MB / 0.9212 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003486/0.7828, allocations: 43.5 kB / 0.9213 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03235/0.8151, allocations: 34.5 MB / 0.9549 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.8152, allocations: 8 kB / 0.955 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008847/0.824, allocations: 4.916 MB / 0.9598 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/0.8256, allocations: 0.6109 MB / 0.9604 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003702/0.826, allocations: 47.89 kB / 0.9604 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.8273, allocations: 127.8 kB / 0.9605 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006194/0.8279, allocations: 189.5 kB / 0.9607 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.828, allocations: 64.17 kB / 0.9608 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001807/0.8298, allocations: 1.374 MB / 0.9621 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8299, allocations: 0 / 0.9621 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003216/0.8331, allocations: 1.051 MB / 0.9631 GB, free: 4.188 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002975/0.8334, allocations: 171.7 kB / 0.9633 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009298/0.8427, allocations: 6.266 MB / 0.9694 GB, free: 13.52 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.8427, allocations: 4 kB / 0.9694 GB, free: 13.52 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006352/0.8491, allocations: 4.396 MB / 0.9737 GB, free: 8.906 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/0.8532, allocations: 0.9243 MB / 0.9746 GB, free: 8.004 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.8671, allocations: 10.05 MB / 0.9844 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003319/0.8705, allocations: 3.119 MB / 0.9875 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002106/0.8726, allocations: 0.5237 MB / 0.988 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.873, allocations: 143.4 kB / 0.9881 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of SimCode: time 8.02e-07/0.873, allocations: 0 / 0.9881 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of Templates: time 0.09005/0.9631, allocations: 58.25 MB / 1.045 GB, free: 0.668 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)