Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01016/0.01016, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.54/1.54, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.939/2.939, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004028, allocations: 13.41 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3662, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01778/0.384, allocations: 15.38 MB / 1.089 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008069/0.3921, allocations: 4.774 MB / 1.094 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.3934, allocations: 59.69 kB / 1.094 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006984/0.3941, allocations: 254 kB / 1.094 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.3958, allocations: 0.6924 MB / 1.095 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.3975, allocations: 0.666 MB / 1.095 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005155/0.4026, allocations: 5.26 MB / 1.101 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008696/0.4114, allocations: 5.828 MB / 1.106 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.4134, allocations: 1.093 MB / 1.107 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.4156, allocations: 1.507 MB / 1.109 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.4159, allocations: 144 kB / 1.109 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.4174, allocations: 0.737 MB / 1.11 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.4186, allocations: 1.072 MB / 1.111 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.42, allocations: 1.195 MB / 1.112 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005223/0.4252, allocations: 4.883 MB / 1.117 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.4252, allocations: 0 / 1.117 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4252, allocations: 0 / 1.117 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001144/0.4254, allocations: 0 / 1.117 GB, free: 11.77 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004663/0.43, allocations: 2.178 MB / 1.119 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.4301, allocations: 8.031 kB / 1.119 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004369/0.4345, allocations: 0.8368 MB / 1.12 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/0.4374, allocations: 1.501 MB / 1.121 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.4376, allocations: 177.1 kB / 1.121 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004464/0.438, allocations: 236.3 kB / 1.121 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007656/0.4457, allocations: 4.165 MB / 1.126 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.207e-05/0.4458, allocations: 11.94 kB / 1.126 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000265/0.4461, allocations: 95.98 kB / 1.126 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002235/0.4463, allocations: 168.5 kB / 1.126 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0063/0.4526, allocations: 3.648 MB / 1.129 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01924/0.4719, allocations: 16.56 MB / 1.146 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003589/0.4755, allocations: 2.292 MB / 1.148 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008679/0.4764, allocations: 0.578 MB / 1.148 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.4765, allocations: 93.66 kB / 1.148 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.4766, allocations: 39.12 kB / 1.148 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 2.665e-06/0.4766, allocations: 0 / 1.148 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.005854/0.4825, allocations: 3.459 MB / 1.152 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.4825, allocations: 119.5 kB / 1.152 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.4839, allocations: 1.014 MB / 1.153 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.484, allocations: 33.7 kB / 1.153 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000807/0.4848, allocations: 1.107 MB / 1.154 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.4851, allocations: 276.1 kB / 1.154 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.4853, allocations: 117.7 kB / 1.154 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.4855, allocations: 410.7 kB / 1.155 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009728/0.4864, allocations: 0.6246 MB / 1.155 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.4879, allocations: 1.189 MB / 1.157 GB, free: 472 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.4902, allocations: 1.872 MB / 1.158 GB, free: 14.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.4902, allocations: 8 kB / 1.158 GB, free: 14.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003269/0.4935, allocations: 2.034 MB / 1.16 GB, free: 12.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.4936, allocations: 12 kB / 1.16 GB, free: 12.24 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/0.4936, allocations: 20.62 kB / 1.16 GB, free: 12.22 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004487/0.4941, allocations: 163.3 kB / 1.161 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.4952, allocations: 343.4 kB / 1.161 GB, free: 11.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.74e-05/0.4953, allocations: 39.86 kB / 1.161 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.4963, allocations: 143.5 kB / 1.161 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.4964, allocations: 71.94 kB / 1.161 GB, free: 11.47 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001527/0.498, allocations: 0.9777 MB / 1.162 GB, free: 10.48 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.4982, allocations: 114.6 kB / 1.162 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.5003, allocations: 1.234 MB / 1.163 GB, free: 9.113 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.5004, allocations: 11.94 kB / 1.163 GB, free: 9.102 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5004, allocations: 4 kB / 1.163 GB, free: 9.098 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.5004, allocations: 7.984 kB / 1.163 GB, free: 9.09 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005818/0.5062, allocations: 3.815 MB / 1.167 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.5063, allocations: 4 kB / 1.167 GB, free: 5.121 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006182/0.5069, allocations: 163.8 kB / 1.167 GB, free: 4.961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/0.5073, allocations: 139.6 kB / 1.167 GB, free: 4.812 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.5073, allocations: 16 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.5073, allocations: 11.88 kB / 1.168 GB, free: 4.785 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5074, allocations: 4 kB / 1.168 GB, free: 4.781 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.5095, allocations: 1.476 MB / 1.169 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.5101, allocations: 291.7 kB / 1.169 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.5102, allocations: 16 kB / 1.169 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006252/0.5108, allocations: 79.91 kB / 1.169 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.511, allocations: 60.42 kB / 1.169 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.5111, allocations: 20 kB / 1.169 GB, free: 2.773 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009774/0.512, allocations: 0.6991 MB / 1.17 GB, free: 2.062 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.512, allocations: 0 / 1.17 GB, free: 2.062 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001584/0.5136, allocations: 388 kB / 1.17 GB, free: 1.684 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003059/0.5139, allocations: 135.2 kB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002989/0.5169, allocations: 1.71 MB / 1.172 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.517, allocations: 0 / 1.172 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.518, allocations: 0.8759 MB / 1.173 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.5198, allocations: 244.3 kB / 1.173 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007227/0.527, allocations: 4.848 MB / 1.178 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/0.529, allocations: 1.924 MB / 1.18 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001287/0.5303, allocations: 449.4 kB / 1.18 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.5305, allocations: 79.42 kB / 1.18 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of SimCode: time 1.302e-06/0.5305, allocations: 0 / 1.18 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of Templates: time 0.02531/0.5558, allocations: 12.71 MB / 1.193 GB, free: 10.57 MB / 0.9512 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)