Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001407, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001341/0.001341, allocations: 194.4 kB / 16.14 MB, free: 6.637 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.424/1.424, 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.002544/0.002544, allocations: 290.4 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 178.6 MB / 0.5068 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 99.17 kB / 0.6057 GB, free: 25.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1757, allocations: 89.15 MB / 0.6928 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.014/0.1897, allocations: 11.05 MB / 0.7036 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.2005, allocations: 5.858 MB / 0.7093 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009937/0.2015, allocations: 47.62 kB / 0.7093 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004139/0.2057, allocations: 1.607 MB / 0.7109 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.2086, allocations: 1.066 MB / 0.712 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.2106, allocations: 0.744 MB / 0.7127 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003233/0.2139, allocations: 2.852 MB / 0.7155 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.2158, allocations: 1.32 MB / 0.7168 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.2169, allocations: 0.7507 MB / 0.7175 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.2181, allocations: 0.9221 MB / 0.7184 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.2183, allocations: 84 kB / 0.7185 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.2208, allocations: 1.462 MB / 0.7199 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005252/0.2214, allocations: 0.4985 MB / 0.7204 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008135/0.2222, allocations: 0.7536 MB / 0.7211 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.2251, allocations: 2.457 MB / 0.7235 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2251, allocations: 3.938 kB / 0.7235 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2251, allocations: 0 / 0.7235 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.822e-05/0.2251, allocations: 0 / 0.7235 GB, free: 5.281 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003069/0.2282, allocations: 1.865 MB / 0.7253 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.2283, allocations: 12.03 kB / 0.7254 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004559/0.2328, allocations: 0.6699 MB / 0.726 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.2344, allocations: 0.9146 MB / 0.7269 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.2344, allocations: 94.89 kB / 0.727 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.2347, allocations: 124.3 kB / 0.7271 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/0.2381, allocations: 2.21 MB / 0.7293 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.2381, allocations: 15.86 kB / 0.7293 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.2383, allocations: 59.97 kB / 0.7293 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002231/0.2385, allocations: 162.3 kB / 0.7295 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/0.2416, allocations: 1.871 MB / 0.7313 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.2547, allocations: 12.48 MB / 0.7435 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004466/0.2592, allocations: 1.96 MB / 0.7454 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008786/0.2601, allocations: 0.6089 MB / 0.746 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.2602, allocations: 106.1 kB / 0.7461 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.2603, allocations: 43.56 kB / 0.7462 GB, free: 12.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=103): time 3.056e-06/0.2603, allocations: 0 / 0.7462 GB, free: 12.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=110): time 0.006398/0.2667, allocations: 3.706 MB / 0.7498 GB, free: 8.906 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.2668, allocations: 64.41 kB / 0.7498 GB, free: 8.832 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.268, allocations: 0.9203 MB / 0.7507 GB, free: 7.895 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.904e-05/0.2681, allocations: 45.7 kB / 0.7508 GB, free: 7.844 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005582/0.2686, allocations: 0.7314 MB / 0.7515 GB, free: 7.102 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/0.269, allocations: 382.5 kB / 0.7519 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004239/0.2694, allocations: 291.2 kB / 0.7521 GB, free: 6.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2695, allocations: 305.1 kB / 0.7524 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009953/0.2706, allocations: 0.6051 MB / 0.753 GB, free: 5.523 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.272, allocations: 1.117 MB / 0.7541 GB, free: 4.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002554/0.2746, allocations: 1.824 MB / 0.7559 GB, free: 2.141 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.2746, allocations: 11.94 kB / 0.7559 GB, free: 2.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003609/0.2782, allocations: 2.1 MB / 0.758 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.2783, allocations: 12 kB / 0.758 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.2783, allocations: 16 kB / 0.758 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008594/0.2792, allocations: 259 kB / 0.7582 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.2804, allocations: 371.4 kB / 0.7586 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009508/0.2899, allocations: 10.76 MB / 0.7691 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.2911, allocations: 131.8 kB / 0.7692 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.2912, allocations: 71.98 kB / 0.7693 GB, free: 3.297 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006756/0.2919, allocations: 405.3 kB / 0.7697 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.2921, allocations: 138.4 kB / 0.7698 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/0.2952, allocations: 1.673 MB / 0.7714 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.2952, allocations: 12 kB / 0.7715 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2952, allocations: 8 kB / 0.7715 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.2952, allocations: 3.984 kB / 0.7715 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3056/0.6008, allocations: 3.291 MB / 0.7747 GB, free: 77.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.6009, allocations: 5.969 kB / 0.7747 GB, free: 77.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008725/0.6018, allocations: 222 kB / 0.7749 GB, free: 77.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007405/0.6025, allocations: 245.7 kB / 0.7751 GB, free: 77.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.797e-05/0.6026, allocations: 25.78 kB / 0.7752 GB, free: 77.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005905/0.6085, allocations: 10.73 MB / 0.7856 GB, free: 67.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.6086, allocations: 14.09 kB / 0.7856 GB, free: 67.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.6113, allocations: 1.797 MB / 0.7874 GB, free: 66.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/0.6118, allocations: 307.2 kB / 0.7877 GB, free: 66.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.612, allocations: 28.61 kB / 0.7877 GB, free: 66.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006482/0.6126, allocations: 88 kB / 0.7878 GB, free: 66.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.6129, allocations: 100.1 kB / 0.7879 GB, free: 66.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.6129, allocations: 35.86 kB / 0.7879 GB, free: 66.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007826/0.6137, allocations: 0.6218 MB / 0.7885 GB, free: 66.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6137, allocations: 7.625 kB / 0.7885 GB, free: 66.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001408/0.6151, allocations: 389.3 kB / 0.7889 GB, free: 66.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002012/0.6153, allocations: 140.1 kB / 0.7891 GB, free: 66.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003277/0.6186, allocations: 2.488 MB / 0.7915 GB, free: 64.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6187, allocations: 0 / 0.7915 GB, free: 64.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001866/0.6205, allocations: 1.629 MB / 0.7931 GB, free: 63.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.6222, allocations: 327.1 kB / 0.7934 GB, free: 63.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.6263, allocations: 3.395 MB / 0.7967 GB, free: 61.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008271/0.6271, allocations: 1.325 MB / 0.798 GB, free: 60.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001135/0.6282, allocations: 361.8 kB / 0.7983 GB, free: 60.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.6285, allocations: 95.16 kB / 0.7984 GB, free: 60.72 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/0.6285, allocations: 0 / 0.7984 GB, free: 60.72 MB / 0.5606 GB Notification: Performance of Templates: time 0.02884/0.6574, allocations: 16.46 MB / 0.8145 GB, free: 55.84 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)