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.0008843/0.0008839, allocations: 84.38 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.0009951/0.000995, 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 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.664/1.664, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005184/0.0005186, allocations: 19.28 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2656, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005577/0.2712, allocations: 4.295 MB / 0.7915 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004295/0.2756, allocations: 2.384 MB / 0.7938 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007551/0.2764, allocations: 27.81 kB / 0.7938 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005506/0.277, allocations: 91.14 kB / 0.7939 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.2785, allocations: 342.2 kB / 0.7943 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.2795, allocations: 299.4 kB / 0.7945 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.2809, allocations: 0.9796 MB / 0.7955 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.282, allocations: 425 kB / 0.7959 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007202/0.2827, allocations: 290.7 kB / 0.7962 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007271/0.2834, allocations: 330.6 kB / 0.7965 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.2836, allocations: 19.94 kB / 0.7965 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007168/0.2843, allocations: 195.7 kB / 0.7967 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.2846, allocations: 167.4 kB / 0.7969 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.2849, allocations: 133.4 kB / 0.797 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.286, allocations: 0.6469 MB / 0.7976 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.286, allocations: 4 kB / 0.7976 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.204e-06/0.286, allocations: 0 / 0.7976 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.682e-05/0.2861, allocations: 0 / 0.7976 GB, free: 1.27 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.001933/0.288, allocations: 0.8373 MB / 0.7984 GB, free: 388 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.2881, allocations: 8.031 kB / 0.7984 GB, free: 380 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.2895, allocations: 206.8 kB / 0.7986 GB, free: 172 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.2905, allocations: 493.3 kB / 0.7991 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/0.2906, allocations: 29 kB / 0.7991 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.2907, allocations: 47.89 kB / 0.7992 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.292, allocations: 0.8403 MB / 0.8 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.292, allocations: 7.938 kB / 0.8 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.2921, allocations: 23.98 kB / 0.8 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.791e-05/0.2922, allocations: 72.89 kB / 0.8001 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008847/0.2931, allocations: 0.5616 MB / 0.8007 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004368/0.2975, allocations: 5.647 MB / 0.8062 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/0.2981, allocations: 450.3 kB / 0.8066 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.2984, allocations: 232.7 kB / 0.8068 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.2985, allocations: 7.984 kB / 0.8068 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.2985, allocations: 34.5 kB / 0.8069 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.2985, allocations: 0 / 0.8069 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002512/0.301, allocations: 1.514 MB / 0.8083 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3011, allocations: 59.34 kB / 0.8084 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000553/0.3017, allocations: 0.4912 MB / 0.8089 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.3017, allocations: 33.7 kB / 0.8089 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.302, allocations: 358.8 kB / 0.8093 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.746e-05/0.3021, allocations: 118.3 kB / 0.8094 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.3021, allocations: 12 kB / 0.8094 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3023, allocations: 362.8 kB / 0.8097 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.3025, allocations: 197.2 kB / 0.8099 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.303, allocations: 443 kB / 0.8103 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.3034, allocations: 267.8 kB / 0.8106 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.3034, allocations: 4 kB / 0.8106 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001241/0.3046, allocations: 0.8026 MB / 0.8114 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3047, allocations: 8 kB / 0.8114 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.3047, allocations: 12 kB / 0.8114 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004736/0.3052, allocations: 156.8 kB / 0.8115 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.3056, allocations: 123.8 kB / 0.8117 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.3087, allocations: 4.032 MB / 0.8156 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/0.3092, allocations: 35.91 kB / 0.8156 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.3092, allocations: 31.98 kB / 0.8157 GB, free: 13.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.0003052/0.3095, allocations: 205.6 kB / 0.8159 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.3097, allocations: 67.34 kB / 0.8159 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009952/0.3107, allocations: 0.6007 MB / 0.8165 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3107, allocations: 4 kB / 0.8165 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.3107, allocations: 3.953 kB / 0.8165 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.3107, allocations: 3.984 kB / 0.8165 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.3124, allocations: 1.253 MB / 0.8177 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3124, allocations: 0 / 0.8177 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.3127, allocations: 55.89 kB / 0.8178 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003734/0.3131, allocations: 148.3 kB / 0.8179 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.3131, allocations: 12 kB / 0.818 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003025/0.3161, allocations: 4.029 MB / 0.8219 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.3161, allocations: 4.031 kB / 0.8219 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.3172, allocations: 0.6999 MB / 0.8226 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.3175, allocations: 172.3 kB / 0.8227 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.498e-05/0.3176, allocations: 12 kB / 0.8228 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.3179, allocations: 23.97 kB / 0.8228 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.318, allocations: 27.95 kB / 0.8228 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.318, allocations: 12 kB / 0.8228 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004264/0.3184, allocations: 334.8 kB / 0.8231 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.515e-06/0.3184, allocations: 0 / 0.8231 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008573/0.3193, allocations: 143.9 kB / 0.8233 GB, free: 5.031 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.0002361/0.3195, allocations: 123.1 kB / 0.8234 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.3216, allocations: 1.037 MB / 0.8244 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3216, allocations: 0 / 0.8244 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.3226, allocations: 0.7342 MB / 0.8251 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.3239, allocations: 195.6 kB / 0.8253 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.3266, allocations: 1.227 MB / 0.8265 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.3273, allocations: 0.9059 MB / 0.8274 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004182/0.3278, allocations: 133.1 kB / 0.8275 GB, free: 448 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.3279, allocations: 39.44 kB / 0.8276 GB, free: 408 kB / 0.6387 GB Notification: Performance of SimCode: time 1.853e-06/0.3279, allocations: 0 / 0.8276 GB, free: 408 kB / 0.6387 GB Notification: Performance of Templates: time 0.01514/0.343, allocations: 7.057 MB / 0.8344 GB, free: 9.43 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: