Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000894/0.0008936, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001054/0.001055, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001777/0.001777, allocations: 274.5 kB / 291.3 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9946/0.9946, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007507/0.0007515, allocations: 13.31 kB / 0.598 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2329, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005224/0.2382, allocations: 4.276 MB / 0.6887 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004085/0.2423, allocations: 2.338 MB / 0.6909 GB, free: 8.805 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.2427, allocations: 23.75 kB / 0.691 GB, free: 8.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.243, allocations: 91.22 kB / 0.6911 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008208/0.2438, allocations: 350.8 kB / 0.6914 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.2445, allocations: 307 kB / 0.6917 GB, free: 8.059 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009308/0.2455, allocations: 0.9679 MB / 0.6926 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007115/0.2462, allocations: 431.3 kB / 0.693 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003748/0.2466, allocations: 290.7 kB / 0.6933 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004179/0.247, allocations: 322.6 kB / 0.6936 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.247, allocations: 20 kB / 0.6936 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004553/0.2475, allocations: 199.7 kB / 0.6938 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.2477, allocations: 163.4 kB / 0.694 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.2479, allocations: 137.3 kB / 0.6941 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006929/0.2486, allocations: 0.6467 MB / 0.6948 GB, free: 4.883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2486, allocations: 0 / 0.6948 GB, free: 4.883 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2486, allocations: 4 kB / 0.6948 GB, free: 4.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.2486, allocations: 0 / 0.6948 GB, free: 4.879 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001328/0.2499, allocations: 0.8411 MB / 0.6956 GB, free: 3.988 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.25, allocations: 8.031 kB / 0.6956 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.2512, allocations: 206.9 kB / 0.6958 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007484/0.252, allocations: 489.4 kB / 0.6962 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.252, allocations: 29 kB / 0.6963 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.393e-05/0.2521, allocations: 43.98 kB / 0.6963 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.2532, allocations: 0.8405 MB / 0.6971 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.2532, allocations: 7.938 kB / 0.6971 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.2533, allocations: 27.97 kB / 0.6972 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.808e-05/0.2534, allocations: 60.97 kB / 0.6972 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008181/0.2542, allocations: 0.5656 MB / 0.6978 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004978/0.2592, allocations: 5.654 MB / 0.7033 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.2599, allocations: 458.2 kB / 0.7037 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.2602, allocations: 228.7 kB / 0.704 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.2603, allocations: 4 kB / 0.704 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2603, allocations: 34.56 kB / 0.704 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 3.126e-06/0.2603, allocations: 0 / 0.704 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002785/0.2631, allocations: 1.509 MB / 0.7055 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.2632, allocations: 59.69 kB / 0.7055 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006146/0.2638, allocations: 0.4913 MB / 0.706 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.2638, allocations: 29.7 kB / 0.706 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.2642, allocations: 358.8 kB / 0.7064 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2643, allocations: 122.3 kB / 0.7065 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.2643, allocations: 8 kB / 0.7065 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002292/0.2646, allocations: 370.8 kB / 0.7069 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.2649, allocations: 189.2 kB / 0.707 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.2654, allocations: 451.3 kB / 0.7075 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.2658, allocations: 264.3 kB / 0.7077 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2658, allocations: 4 kB / 0.7077 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001338/0.2672, allocations: 0.8055 MB / 0.7085 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.2672, allocations: 8 kB / 0.7085 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.2672, allocations: 8 kB / 0.7085 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.2678, allocations: 156.6 kB / 0.7087 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.2682, allocations: 123.8 kB / 0.7088 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/0.2717, allocations: 4.038 MB / 0.7127 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.2721, allocations: 35.91 kB / 0.7128 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.2721, allocations: 28 kB / 0.7128 GB, free: 1.059 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003342/0.2724, allocations: 214.2 kB / 0.713 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/0.2726, allocations: 63.25 kB / 0.7131 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.2736, allocations: 0.5932 MB / 0.7136 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2736, allocations: 4 kB / 0.7136 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2737, allocations: 0 / 0.7136 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2737, allocations: 3.953 kB / 0.7136 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.2754, allocations: 1.259 MB / 0.7149 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.2754, allocations: 0 / 0.7149 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.2757, allocations: 55.89 kB / 0.7149 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003934/0.2761, allocations: 152.3 kB / 0.7151 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.2761, allocations: 8 kB / 0.7151 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/0.279, allocations: 4.021 MB / 0.719 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.2791, allocations: 4 kB / 0.719 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.2801, allocations: 0.7082 MB / 0.7197 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.2803, allocations: 176.2 kB / 0.7199 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.2804, allocations: 8 kB / 0.7199 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.2806, allocations: 27.97 kB / 0.7199 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.2807, allocations: 27.91 kB / 0.7199 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.2807, allocations: 8 kB / 0.7199 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003733/0.2811, allocations: 334.8 kB / 0.7203 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2811, allocations: 0 / 0.7203 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006591/0.2817, allocations: 144 kB / 0.7204 GB, free: 8.668 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.2819, allocations: 119.1 kB / 0.7205 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.2835, allocations: 1.025 MB / 0.7215 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.2835, allocations: 4 kB / 0.7215 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009586/0.2844, allocations: 0.739 MB / 0.7222 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009713/0.2854, allocations: 188 kB / 0.7224 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.2873, allocations: 1.239 MB / 0.7236 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.2879, allocations: 0.9098 MB / 0.7245 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003609/0.2882, allocations: 125.2 kB / 0.7246 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.5e-05/0.2883, allocations: 39.44 kB / 0.7247 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.2883, allocations: 0 / 0.7247 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of Templates: time 0.01404/0.3024, allocations: 7.061 MB / 0.7316 GB, free: 13.07 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)