Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.81/1.81, allocations: 287.5 MB / 302.6 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 176.9 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009074/0.0009074, allocations: 93.42 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 14.81 kB / 0.8661 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.202, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01233/0.2143, allocations: 14.52 MB / 0.9929 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006572/0.221, allocations: 4.624 MB / 0.9974 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.2223, allocations: 55.69 kB / 0.9974 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000876/0.2232, allocations: 242.1 kB / 0.9977 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.225, allocations: 0.5792 MB / 0.9982 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.2267, allocations: 0.4932 MB / 0.9987 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003471/0.2302, allocations: 4.132 MB / 1.003 GB, free: 3.473 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007756/0.238, allocations: 5.759 MB / 1.008 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.2405, allocations: 1.105 MB / 1.009 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002636/0.2432, allocations: 1.483 MB / 1.011 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0007386/0.2439, allocations: 144 kB / 1.011 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.2456, allocations: 391.6 kB / 1.011 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.2473, allocations: 1.068 MB / 1.012 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000942/0.2482, allocations: 496.5 kB / 1.013 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004162/0.2524, allocations: 4.262 MB / 1.017 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.2524, allocations: 7.984 kB / 1.017 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2524, allocations: 0 / 1.017 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000133/0.2526, allocations: 4 kB / 1.017 GB, free: 4.664 MB / 0.6355 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.004345/0.2569, allocations: 2.163 MB / 1.019 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.257, allocations: 19.97 kB / 1.019 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/0.261, allocations: 0.8368 MB / 1.02 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/0.2641, allocations: 1.494 MB / 1.022 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.2643, allocations: 181.1 kB / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006508/0.265, allocations: 236.3 kB / 1.022 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008477/0.2735, allocations: 4.154 MB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-05/0.2736, allocations: 7.938 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003937/0.274, allocations: 99.98 kB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002104/0.2742, allocations: 164.5 kB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006706/0.2809, allocations: 3.631 MB / 1.03 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/0.3013, allocations: 16.54 MB / 1.046 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003385/0.3048, allocations: 2.304 MB / 1.048 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008662/0.3056, allocations: 0.578 MB / 1.049 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.3058, allocations: 93.66 kB / 1.049 GB, free: 2.25 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.3059, allocations: 43.06 kB / 1.049 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 7.364e-06/0.3059, allocations: 4 kB / 1.049 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.006175/0.3121, allocations: 3.452 MB / 1.052 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.3121, allocations: 111.5 kB / 1.052 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.3136, allocations: 1.006 MB / 1.053 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.3136, allocations: 37.7 kB / 1.053 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000766/0.3144, allocations: 1.099 MB / 1.054 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.3147, allocations: 280.1 kB / 1.055 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.3147, allocations: 28 kB / 1.055 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.3149, allocations: 414.7 kB / 1.055 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009881/0.3159, allocations: 0.6128 MB / 1.056 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.3173, allocations: 1.197 MB / 1.057 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/0.3197, allocations: 1.864 MB / 1.059 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/0.3197, allocations: 4 kB / 1.059 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003249/0.3229, allocations: 2.015 MB / 1.061 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.323, allocations: 22.16 kB / 1.061 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.323, allocations: 20 kB / 1.061 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/0.3235, allocations: 155.3 kB / 1.061 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.3246, allocations: 347.4 kB / 1.061 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.18e-05/0.3247, allocations: 39.86 kB / 1.061 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.3257, allocations: 135.7 kB / 1.061 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.3258, allocations: 71.98 kB / 1.061 GB, free: 4.574 MB / 0.6823 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001521/0.3274, allocations: 0.9772 MB / 1.062 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.3276, allocations: 114.6 kB / 1.063 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.3298, allocations: 1.234 MB / 1.064 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.3298, allocations: 15.94 kB / 1.064 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.3298, allocations: 0 / 1.064 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.3298, allocations: 7.984 kB / 1.064 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4384/0.7682, allocations: 3.806 MB / 1.067 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.7683, allocations: 6.125 kB / 1.067 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006368/0.7689, allocations: 163.1 kB / 1.068 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003472/0.7693, allocations: 135.4 kB / 1.068 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.7693, allocations: 17.41 kB / 1.068 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/0.7694, allocations: 14.8 kB / 1.068 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.7694, allocations: 3.312 kB / 1.068 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.7714, allocations: 1.473 MB / 1.069 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005375/0.772, allocations: 297.3 kB / 1.07 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.7721, allocations: 17.31 kB / 1.07 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006103/0.7727, allocations: 78 kB / 1.07 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.7729, allocations: 61.44 kB / 1.07 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.773, allocations: 24.69 kB / 1.07 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001116/0.7741, allocations: 0.6882 MB / 1.07 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7741, allocations: 0 / 1.07 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001716/0.7758, allocations: 392.4 kB / 1.071 GB, free: 82.48 MB / 0.6823 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002294/0.7761, allocations: 125.3 kB / 1.071 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002656/0.7787, allocations: 1.716 MB / 1.073 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7787, allocations: 0 / 1.073 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.7798, allocations: 0.864 MB / 1.073 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.7816, allocations: 241.5 kB / 1.074 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008258/0.7899, allocations: 4.622 MB / 1.078 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002143/0.792, allocations: 1.921 MB / 1.08 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001483/0.7935, allocations: 453.9 kB / 1.08 GB, free: 77.37 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.7938, allocations: 78.92 kB / 1.08 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of SimCode: time 9.01e-07/0.7938, allocations: 0 / 1.08 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of Templates: time 0.02917/0.8229, allocations: 12.4 MB / 1.093 GB, free: 76.09 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)