Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.009528/0.009528, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002012/0.002012, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.713/1.713, allocations: 251.7 MB / 0.5094 GB, free: 3.074 MB / 414.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.001647/0.001647, allocations: 71.89 kB / 0.7258 GB, free: 9.145 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2998, allocations: 104.7 MB / 0.828 GB, free: 340 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02218/0.322, allocations: 16.02 MB / 0.8437 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.3321, allocations: 4.86 MB / 0.8484 GB, free: 11.38 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.3342, allocations: 67.69 kB / 0.8485 GB, free: 11.31 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003336/0.3377, allocations: 1.046 MB / 0.8495 GB, free: 10.26 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002902/0.3406, allocations: 0.7738 MB / 0.8503 GB, free: 9.484 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.3438, allocations: 0.9187 MB / 0.8512 GB, free: 8.566 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005389/0.3492, allocations: 3.626 MB / 0.8547 GB, free: 4.934 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007743/0.357, allocations: 4.769 MB / 0.8594 GB, free: 96 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/0.3606, allocations: 1.605 MB / 0.8609 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003693/0.3643, allocations: 1.776 MB / 0.8627 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001313/0.3657, allocations: 340 kB / 0.863 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.3685, allocations: 0.7958 MB / 0.8638 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00249/0.371, allocations: 1.326 MB / 0.8651 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003434/0.3745, allocations: 1.459 MB / 0.8665 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007656/0.3822, allocations: 5.13 MB / 0.8715 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.3822, allocations: 4 kB / 0.8715 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.016e-06/0.3822, allocations: 0 / 0.8715 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002228/0.3825, allocations: 4 kB / 0.8715 GB, free: 3.629 MB / 0.6856 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.008615/0.3911, allocations: 2.65 MB / 0.8741 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3912, allocations: 16.03 kB / 0.8741 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/0.3959, allocations: 0.8251 MB / 0.8749 GB, free: 76 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/0.3998, allocations: 1.568 MB / 0.8764 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.4001, allocations: 181.1 kB / 0.8766 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009686/0.4011, allocations: 232.4 kB / 0.8768 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.4116, allocations: 4.161 MB / 0.8809 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.859e-05/0.4118, allocations: 7.844 kB / 0.8809 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006784/0.4124, allocations: 104 kB / 0.881 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002511/0.4127, allocations: 168.5 kB / 0.8812 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007945/0.4207, allocations: 3.636 MB / 0.8847 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02537/0.4461, allocations: 16.4 MB / 0.9007 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/0.4498, allocations: 2.293 MB / 0.903 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009619/0.4508, allocations: 0.578 MB / 0.9035 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.451, allocations: 93.66 kB / 0.9036 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.4511, allocations: 51.06 kB / 0.9037 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=72): time 3.627e-06/0.4511, allocations: 0 / 0.9037 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.007601/0.4587, allocations: 3.432 MB / 0.907 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.4588, allocations: 111.5 kB / 0.9071 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.4605, allocations: 1.018 MB / 0.9081 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.918e-05/0.4606, allocations: 41.7 kB / 0.9082 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009209/0.4615, allocations: 1.095 MB / 0.9092 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.4619, allocations: 288 kB / 0.9095 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000516/0.4624, allocations: 275.2 kB / 0.9098 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002414/0.4626, allocations: 414.7 kB / 0.9102 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.4637, allocations: 0.6207 MB / 0.9108 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.4653, allocations: 1.185 MB / 0.9119 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.4677, allocations: 1.86 MB / 0.9138 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.143e-05/0.4678, allocations: 8 kB / 0.9138 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003831/0.4716, allocations: 2.022 MB / 0.9157 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.4717, allocations: 12 kB / 0.9157 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.601e-05/0.4717, allocations: 20 kB / 0.9158 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.4722, allocations: 164 kB / 0.9159 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.4734, allocations: 347.4 kB / 0.9163 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.477e-05/0.4734, allocations: 39.86 kB / 0.9163 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.4745, allocations: 123.7 kB / 0.9164 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.4747, allocations: 71.98 kB / 0.9165 GB, free: 2.875 MB / 0.7325 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.001547/0.4762, allocations: 0.9733 MB / 0.9174 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/0.4766, allocations: 110.6 kB / 0.9175 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.4787, allocations: 1.233 MB / 0.9187 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.4787, allocations: 11.94 kB / 0.9188 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.4788, allocations: 8 kB / 0.9188 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.4788, allocations: 3.984 kB / 0.9188 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5801/1.059, allocations: 3.781 MB / 0.9225 GB, free: 84.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.059, allocations: 3.172 kB / 0.9225 GB, free: 84.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006894/1.06, allocations: 158.2 kB / 0.9226 GB, free: 84.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004042/1.06, allocations: 139.6 kB / 0.9227 GB, free: 84.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/1.06, allocations: 23.34 kB / 0.9228 GB, free: 84.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.454e-05/1.06, allocations: 10.91 kB / 0.9228 GB, free: 84.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/1.06, allocations: 3.125 kB / 0.9228 GB, free: 84.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/1.063, allocations: 1.468 MB / 0.9242 GB, free: 84.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000567/1.063, allocations: 272.1 kB / 0.9245 GB, free: 83.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/1.063, allocations: 19.05 kB / 0.9245 GB, free: 83.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/1.064, allocations: 66.14 kB / 0.9246 GB, free: 83.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/1.064, allocations: 60.91 kB / 0.9246 GB, free: 83.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/1.064, allocations: 21.06 kB / 0.9246 GB, free: 83.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001141/1.065, allocations: 0.7001 MB / 0.9253 GB, free: 83.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/1.065, allocations: 0 / 0.9253 GB, free: 83.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002019/1.067, allocations: 388.5 kB / 0.9257 GB, free: 83.62 MB / 0.7325 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.0002534/1.068, allocations: 124.1 kB / 0.9258 GB, free: 83.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003047/1.071, allocations: 1.722 MB / 0.9275 GB, free: 82.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.071, allocations: 0 / 0.9275 GB, free: 82.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.072, allocations: 0.8618 MB / 0.9283 GB, free: 82.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/1.074, allocations: 281.5 kB / 0.9286 GB, free: 82.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00805/1.082, allocations: 3.774 MB / 0.9323 GB, free: 80.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002014/1.084, allocations: 1.916 MB / 0.9342 GB, free: 79.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001288/1.085, allocations: 451 kB / 0.9346 GB, free: 79.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/1.085, allocations: 82.88 kB / 0.9347 GB, free: 79.36 MB / 0.7325 GB Notification: Performance of SimCode: time 7.71e-07/1.085, allocations: 0 / 0.9347 GB, free: 79.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.03496/1.12, allocations: 13.67 MB / 0.948 GB, free: 76.95 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)