Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009479/0.000948, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001034/0.001034, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005127/0.000513, allocations: 11.53 kB / 0.6736 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2572, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005026/0.2623, allocations: 4.159 MB / 0.7912 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003381/0.2657, allocations: 2.349 MB / 0.7935 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.266, allocations: 23.75 kB / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.2662, allocations: 75.39 kB / 0.7936 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008309/0.2671, allocations: 366.9 kB / 0.7939 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.2678, allocations: 300.9 kB / 0.7942 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007321/0.2685, allocations: 0.5952 MB / 0.7948 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007049/0.2693, allocations: 412.3 kB / 0.7952 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003492/0.2696, allocations: 278.9 kB / 0.7955 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004215/0.27, allocations: 282.8 kB / 0.7957 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.2701, allocations: 20 kB / 0.7957 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.2704, allocations: 139.8 kB / 0.7959 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.2706, allocations: 151.5 kB / 0.796 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2707, allocations: 137.4 kB / 0.7962 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005765/0.2713, allocations: 0.5962 MB / 0.7967 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2713, allocations: 8 kB / 0.7967 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2713, allocations: 0 / 0.7967 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2713, allocations: 0 / 0.7967 GB, free: 2.043 MB / 0.6075 GB 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.001206/0.2725, allocations: 0.8217 MB / 0.7975 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2726, allocations: 12.03 kB / 0.7976 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009042/0.2735, allocations: 182.9 kB / 0.7977 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.2742, allocations: 493.3 kB / 0.7982 GB, free: 464 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.2742, allocations: 32.98 kB / 0.7982 GB, free: 432 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.2743, allocations: 51.92 kB / 0.7983 GB, free: 380 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.2753, allocations: 0.8364 MB / 0.7991 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.2754, allocations: 11.84 kB / 0.7991 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.2754, allocations: 20 kB / 0.7991 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.201e-05/0.2755, allocations: 68.95 kB / 0.7992 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.2763, allocations: 0.5616 MB / 0.7997 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/0.2804, allocations: 5.647 MB / 0.8053 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.281, allocations: 458.3 kB / 0.8057 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.2811, allocations: 15.88 kB / 0.8057 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.2811, allocations: 38.56 kB / 0.8057 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 2.215e-06/0.2811, allocations: 0 / 0.8057 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002428/0.2835, allocations: 1.502 MB / 0.8072 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.2836, allocations: 59.41 kB / 0.8073 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.2841, allocations: 0.499 MB / 0.8078 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.2841, allocations: 29.7 kB / 0.8078 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.2843, allocations: 350.8 kB / 0.8081 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.145e-05/0.2844, allocations: 126.3 kB / 0.8082 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.2844, allocations: 12 kB / 0.8083 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2846, allocations: 366.8 kB / 0.8086 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.2849, allocations: 197.1 kB / 0.8088 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.2853, allocations: 439 kB / 0.8092 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.2857, allocations: 259.8 kB / 0.8095 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2857, allocations: 4 kB / 0.8095 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001291/0.287, allocations: 0.8185 MB / 0.8103 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.287, allocations: 8 kB / 0.8103 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.287, allocations: 8 kB / 0.8103 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000474/0.2875, allocations: 148.5 kB / 0.8104 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.2879, allocations: 123.8 kB / 0.8105 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.2909, allocations: 4.06 MB / 0.8145 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.2912, allocations: 40.28 kB / 0.8145 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.2913, allocations: 28 kB / 0.8146 GB, free: 14.43 MB / 0.6387 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.000249/0.2915, allocations: 205.6 kB / 0.8148 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/0.2916, allocations: 63.25 kB / 0.8148 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009415/0.2926, allocations: 0.6085 MB / 0.8154 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2926, allocations: 4 kB / 0.8154 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2926, allocations: 0 / 0.8154 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2926, allocations: 3.953 kB / 0.8154 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.2943, allocations: 1.257 MB / 0.8166 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2943, allocations: 0 / 0.8166 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.2945, allocations: 55.89 kB / 0.8167 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003822/0.2949, allocations: 148.3 kB / 0.8168 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.295, allocations: 11.98 kB / 0.8169 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/0.2978, allocations: 4.048 MB / 0.8208 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2978, allocations: 0 / 0.8208 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009573/0.2988, allocations: 0.7858 MB / 0.8216 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.299, allocations: 168.3 kB / 0.8217 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.2991, allocations: 11.98 kB / 0.8217 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.2993, allocations: 19.97 kB / 0.8218 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.2994, allocations: 35.91 kB / 0.8218 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.2994, allocations: 8 kB / 0.8218 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003404/0.2998, allocations: 342.8 kB / 0.8221 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2998, allocations: 3.938 kB / 0.8221 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006118/0.3004, allocations: 144 kB / 0.8223 GB, free: 5.879 MB / 0.6387 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.0001473/0.3005, allocations: 113.8 kB / 0.8224 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.3018, allocations: 1.041 MB / 0.8234 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3018, allocations: 0 / 0.8234 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007733/0.3026, allocations: 0.7308 MB / 0.8241 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007903/0.3034, allocations: 186 kB / 0.8243 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.305, allocations: 1.224 MB / 0.8255 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.3055, allocations: 0.9297 MB / 0.8264 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003189/0.3058, allocations: 117.3 kB / 0.8265 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.3059, allocations: 39.44 kB / 0.8265 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of SimCode: time 2.71e-07/0.3059, allocations: 4 kB / 0.8266 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of Templates: time 0.0117/0.3176, allocations: 7.049 MB / 0.8334 GB, free: 10.29 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) Environment - environmentSimulation: