Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001344/0.001344, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001391/0.001391, allocations: 187 kB / 17.34 MB, free: 5.762 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 291.1 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.022/1.022, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 87.86 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4538, allocations: 86.98 MB / 0.767 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008289/0.4622, allocations: 6.798 MB / 0.7737 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005202/0.4674, allocations: 3.059 MB / 0.7767 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007274/0.4682, allocations: 31.81 kB / 0.7767 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002545/0.4707, allocations: 0.9515 MB / 0.7776 GB, free: 9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.4721, allocations: 0.4972 MB / 0.7781 GB, free: 8.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.4732, allocations: 457 kB / 0.7786 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.4744, allocations: 1.224 MB / 0.7798 GB, free: 6.824 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008864/0.4753, allocations: 0.6584 MB / 0.7804 GB, free: 6.164 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005402/0.4759, allocations: 482.2 kB / 0.7809 GB, free: 5.691 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.4765, allocations: 0.5137 MB / 0.7814 GB, free: 5.176 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.719e-05/0.4766, allocations: 64 kB / 0.7814 GB, free: 5.113 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006388/0.4773, allocations: 379.2 kB / 0.7818 GB, free: 4.742 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.4775, allocations: 311.2 kB / 0.7821 GB, free: 4.438 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.4779, allocations: 449.7 kB / 0.7825 GB, free: 3.996 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.4792, allocations: 1.225 MB / 0.7837 GB, free: 2.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4792, allocations: 0 / 0.7837 GB, free: 2.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.677e-06/0.4792, allocations: 4 kB / 0.7837 GB, free: 2.766 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.4792, allocations: 3.938 kB / 0.7837 GB, free: 2.762 MB / 0.545 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.001912/0.4811, allocations: 1.165 MB / 0.7848 GB, free: 1.543 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4812, allocations: 8.031 kB / 0.7849 GB, free: 1.535 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.4827, allocations: 239.5 kB / 0.7851 GB, free: 1.301 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008588/0.4836, allocations: 0.6037 MB / 0.7857 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.4836, allocations: 49.67 kB / 0.7857 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.4837, allocations: 68.3 kB / 0.7858 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.4852, allocations: 1.085 MB / 0.7868 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.4852, allocations: 7.938 kB / 0.7869 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.456e-05/0.4853, allocations: 31.98 kB / 0.7869 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.4855, allocations: 85.25 kB / 0.787 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.4866, allocations: 0.7543 MB / 0.7877 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005245/0.4918, allocations: 5.874 MB / 0.7934 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009807/0.4929, allocations: 0.5697 MB / 0.794 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.4933, allocations: 323.6 kB / 0.7943 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.4933, allocations: 8.422 kB / 0.7943 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.4934, allocations: 39 kB / 0.7943 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.004e-06/0.4934, allocations: 0 / 0.7943 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003874/0.4973, allocations: 1.986 MB / 0.7963 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.4973, allocations: 59.84 kB / 0.7963 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006306/0.4979, allocations: 0.5626 MB / 0.7969 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.498, allocations: 29.7 kB / 0.7969 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.4983, allocations: 414.9 kB / 0.7973 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.4984, allocations: 173.6 kB / 0.7975 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.4986, allocations: 126.5 kB / 0.7976 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4988, allocations: 378.7 kB / 0.798 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.4992, allocations: 273.9 kB / 0.7982 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005703/0.4998, allocations: 0.4892 MB / 0.7987 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.5008, allocations: 0.8055 MB / 0.7995 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.5008, allocations: 8 kB / 0.7995 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001756/0.5025, allocations: 1.087 MB / 0.8006 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.5026, allocations: 8 kB / 0.8006 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5026, allocations: 4 kB / 0.8006 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008556/0.5034, allocations: 287.2 kB / 0.8008 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.5039, allocations: 123.8 kB / 0.801 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006819/0.5108, allocations: 7.134 MB / 0.8079 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007206/0.5115, allocations: 40.03 kB / 0.808 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.5116, allocations: 32 kB / 0.808 GB, free: 8.316 MB / 0.5762 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 (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 {(2,6,100.0%), (2,4,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.000399/0.512, allocations: 251.9 kB / 0.8082 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.5121, allocations: 71.16 kB / 0.8083 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.5137, allocations: 0.8925 MB / 0.8092 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.5137, allocations: 7.938 kB / 0.8092 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5137, allocations: 4 kB / 0.8092 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.5137, allocations: 3.984 kB / 0.8092 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.5163, allocations: 1.725 MB / 0.8109 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5163, allocations: 4.188 kB / 0.8109 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.5166, allocations: 67.83 kB / 0.8109 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007608/0.5174, allocations: 267.2 kB / 0.8112 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.5174, allocations: 12 kB / 0.8112 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00646/0.5239, allocations: 7.118 MB / 0.8182 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.5239, allocations: 8.031 kB / 0.8182 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.5257, allocations: 0.9834 MB / 0.8191 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.526, allocations: 188.2 kB / 0.8193 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.447e-05/0.5261, allocations: 15.98 kB / 0.8193 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.5264, allocations: 27.91 kB / 0.8194 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.5266, allocations: 47.94 kB / 0.8194 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.5266, allocations: 16 kB / 0.8194 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004513/0.5271, allocations: 387.1 kB / 0.8198 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5271, allocations: 0 / 0.8198 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008017/0.5279, allocations: 228 kB / 0.82 GB, free: 11.27 MB / 0.5919 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 (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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001587/0.528, allocations: 121 kB / 0.8201 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.5299, allocations: 1.279 MB / 0.8214 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.53, allocations: 0 / 0.8214 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.5313, allocations: 0.8971 MB / 0.8222 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.5323, allocations: 224 kB / 0.8225 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.5345, allocations: 1.379 MB / 0.8238 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.5352, allocations: 1.009 MB / 0.8248 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.5354, allocations: 47.42 kB / 0.8248 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of SimCode: time 7.32e-07/0.5354, allocations: 0 / 0.8248 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of Templates: time 0.02372/0.5591, allocations: 20.91 MB / 0.8453 GB, free: 1.27 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)