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.001378/0.001378, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001302/0.001302, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 286.9 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9538/0.9538, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 98.61 kB / 0.5947 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1514, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01212/0.1635, allocations: 11.03 MB / 0.6904 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008681/0.1723, allocations: 5.756 MB / 0.696 GB, free: 228 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.1733, allocations: 51.62 kB / 0.6961 GB, free: 176 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004006/0.1774, allocations: 1.632 MB / 0.6977 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.18, allocations: 1.05 MB / 0.6987 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.1819, allocations: 0.7359 MB / 0.6994 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002365/0.1843, allocations: 2.134 MB / 0.7015 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.1862, allocations: 1.493 MB / 0.703 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.1875, allocations: 0.8483 MB / 0.7038 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.1889, allocations: 0.9494 MB / 0.7047 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003536/0.1892, allocations: 112 kB / 0.7048 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.1913, allocations: 1.177 MB / 0.706 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006582/0.192, allocations: 0.5259 MB / 0.7065 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.1931, allocations: 0.7849 MB / 0.7073 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003314/0.1964, allocations: 2.492 MB / 0.7097 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1964, allocations: 0 / 0.7097 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1964, allocations: 0 / 0.7097 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.696e-05/0.1965, allocations: 0 / 0.7097 GB, free: 2.184 MB / 0.4981 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.003342/0.1999, allocations: 1.864 MB / 0.7115 GB, free: 268 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1999, allocations: 12.03 kB / 0.7115 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004471/0.2044, allocations: 0.666 MB / 0.7122 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.206, allocations: 0.9106 MB / 0.7131 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/0.2061, allocations: 98.89 kB / 0.7132 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/0.2064, allocations: 128.3 kB / 0.7133 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/0.2098, allocations: 2.21 MB / 0.7154 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.742e-05/0.2099, allocations: 15.81 kB / 0.7154 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.2101, allocations: 59.97 kB / 0.7155 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002001/0.2103, allocations: 166.3 kB / 0.7157 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.2132, allocations: 1.871 MB / 0.7175 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0119/0.2251, allocations: 12.47 MB / 0.7297 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004291/0.2294, allocations: 1.984 MB / 0.7316 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008103/0.2302, allocations: 0.6049 MB / 0.7322 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.2304, allocations: 102.1 kB / 0.7323 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.2304, allocations: 43.56 kB / 0.7323 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 3.046e-06/0.2305, allocations: 0 / 0.7323 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110): time 0.006084/0.2365, allocations: 3.702 MB / 0.736 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.2366, allocations: 64.41 kB / 0.736 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.2377, allocations: 0.9204 MB / 0.7369 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/0.2378, allocations: 41.7 kB / 0.737 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004527/0.2382, allocations: 0.7353 MB / 0.7377 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.2386, allocations: 382.5 kB / 0.738 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.2389, allocations: 291.2 kB / 0.7383 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.239, allocations: 301.1 kB / 0.7386 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008737/0.2399, allocations: 0.6167 MB / 0.7392 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.2411, allocations: 1.102 MB / 0.7403 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/0.2434, allocations: 1.839 MB / 0.7421 GB, free: 15.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.2434, allocations: 4 kB / 0.7421 GB, free: 15.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003367/0.2468, allocations: 2.1 MB / 0.7441 GB, free: 12.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.2468, allocations: 12 kB / 0.7441 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.2468, allocations: 16 kB / 0.7442 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007636/0.2476, allocations: 263.2 kB / 0.7444 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.2488, allocations: 375.4 kB / 0.7448 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008072/0.2569, allocations: 11.58 MB / 0.7561 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.2581, allocations: 128 kB / 0.7562 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.2582, allocations: 71.94 kB / 0.7563 GB, free: 15.32 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.0006306/0.2589, allocations: 406.5 kB / 0.7567 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.2591, allocations: 134.5 kB / 0.7568 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/0.2619, allocations: 1.673 MB / 0.7584 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.2619, allocations: 12 kB / 0.7584 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.2619, allocations: 4 kB / 0.7584 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.2619, allocations: 7.969 kB / 0.7584 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/0.2667, allocations: 3.296 MB / 0.7617 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.2667, allocations: 4 kB / 0.7617 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008233/0.2676, allocations: 223.7 kB / 0.7619 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006909/0.2683, allocations: 246.6 kB / 0.7621 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.928e-05/0.2683, allocations: 27.94 kB / 0.7621 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2822/0.5506, allocations: 11.55 MB / 0.7734 GB, free: 84.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.966e-06/0.5506, allocations: 14.06 kB / 0.7734 GB, free: 84.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.5533, allocations: 1.797 MB / 0.7752 GB, free: 84.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004579/0.5537, allocations: 308.2 kB / 0.7755 GB, free: 84.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.5539, allocations: 36.88 kB / 0.7755 GB, free: 84.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/0.5546, allocations: 89.66 kB / 0.7756 GB, free: 84.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.5548, allocations: 94.36 kB / 0.7757 GB, free: 84.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/0.5549, allocations: 36.91 kB / 0.7757 GB, free: 84.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000746/0.5556, allocations: 0.6184 MB / 0.7763 GB, free: 84.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5556, allocations: 0.875 kB / 0.7763 GB, free: 84.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001433/0.5571, allocations: 399.1 kB / 0.7767 GB, free: 84.04 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.0002409/0.5573, allocations: 136.7 kB / 0.7768 GB, free: 83.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004864/0.5622, allocations: 2.876 MB / 0.7797 GB, free: 82.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.5622, allocations: 0 / 0.7797 GB, free: 82.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/0.5642, allocations: 1.635 MB / 0.7812 GB, free: 81.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.5658, allocations: 355 kB / 0.7816 GB, free: 81.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.57, allocations: 3.393 MB / 0.7849 GB, free: 79.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007622/0.5708, allocations: 1.327 MB / 0.7862 GB, free: 79.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001088/0.5719, allocations: 365.4 kB / 0.7865 GB, free: 78.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.5722, allocations: 94.92 kB / 0.7866 GB, free: 78.97 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/0.5722, allocations: 0 / 0.7866 GB, free: 78.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.03095/0.6031, allocations: 17.15 MB / 0.8034 GB, free: 74.2 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)