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.001574/0.001573, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.001598/0.001598, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.437/1.437, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.761/1.761, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001428/0.001428, allocations: 75.02 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2297, allocations: 114.5 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.3635/0.5932, allocations: 4.895 MB / 0.7888 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003409/0.5967, allocations: 2.531 MB / 0.7913 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003575/0.5971, allocations: 22.84 kB / 0.7913 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.5982, allocations: 401.6 kB / 0.7917 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0008818/0.5991, allocations: 449.2 kB / 0.7921 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008276/0.5999, allocations: 402.9 kB / 0.7925 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007325/0.6007, allocations: 0.919 MB / 0.7934 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004464/0.6011, allocations: 360.5 kB / 0.7937 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.6015, allocations: 337.9 kB / 0.7941 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.6018, allocations: 346.9 kB / 0.7944 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.6018, allocations: 39.44 kB / 0.7944 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005599/0.6024, allocations: 407.9 kB / 0.7948 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.6026, allocations: 178 kB / 0.795 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.6028, allocations: 324.6 kB / 0.7953 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007442/0.6035, allocations: 0.8704 MB / 0.7962 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6035, allocations: 0 / 0.7962 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6036, allocations: 3.938 kB / 0.7962 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.6036, allocations: 3.938 kB / 0.7962 GB, free: 45 MB / 0.6544 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.001153/0.6047, allocations: 0.9472 MB / 0.7971 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.6048, allocations: 6.938 kB / 0.7971 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.606, allocations: 207.8 kB / 0.7973 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/0.6068, allocations: 0.4931 MB / 0.7978 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.6069, allocations: 37.88 kB / 0.7978 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.607, allocations: 46.52 kB / 0.7979 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.6082, allocations: 0.8479 MB / 0.7987 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.6082, allocations: 7.719 kB / 0.7987 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.6083, allocations: 24.14 kB / 0.7987 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.6084, allocations: 67.33 kB / 0.7988 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008339/0.6092, allocations: 0.5664 MB / 0.7993 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00431/0.6135, allocations: 5.659 MB / 0.8049 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/0.6142, allocations: 445.5 kB / 0.8053 GB, free: 38.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.6146, allocations: 229.7 kB / 0.8055 GB, free: 38.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.6146, allocations: 9.156 kB / 0.8055 GB, free: 38.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.6146, allocations: 41.56 kB / 0.8055 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 2.885e-06/0.6147, allocations: 3.938 kB / 0.8056 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002695/0.6174, allocations: 1.503 MB / 0.807 GB, free: 37.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.6174, allocations: 59.62 kB / 0.8071 GB, free: 37.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/0.618, allocations: 0.5001 MB / 0.8076 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.618, allocations: 32.66 kB / 0.8076 GB, free: 36.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.6183, allocations: 362.5 kB / 0.8079 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.93e-05/0.6184, allocations: 121.6 kB / 0.8081 GB, free: 36.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.6185, allocations: 106.7 kB / 0.8082 GB, free: 36.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6187, allocations: 366.3 kB / 0.8085 GB, free: 36.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.619, allocations: 196.6 kB / 0.8087 GB, free: 35.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.6194, allocations: 448.7 kB / 0.8091 GB, free: 35.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007558/0.6202, allocations: 0.6856 MB / 0.8098 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.6202, allocations: 2.812 kB / 0.8098 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001676/0.6219, allocations: 0.8134 MB / 0.8106 GB, free: 34.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/0.6219, allocations: 9.156 kB / 0.8106 GB, free: 34.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/0.622, allocations: 12.59 kB / 0.8106 GB, free: 34.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006305/0.6226, allocations: 154.2 kB / 0.8108 GB, free: 34.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.6232, allocations: 125.3 kB / 0.8109 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/0.6263, allocations: 4.34 MB / 0.8151 GB, free: 30.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.6269, allocations: 37.88 kB / 0.8152 GB, free: 30.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.6269, allocations: 27.62 kB / 0.8152 GB, free: 30.34 MB / 0.6544 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002912/0.6272, allocations: 218.2 kB / 0.8154 GB, free: 30.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.211e-05/0.6273, allocations: 61.31 kB / 0.8154 GB, free: 30.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.6284, allocations: 0.6036 MB / 0.816 GB, free: 29.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.6284, allocations: 7.938 kB / 0.816 GB, free: 29.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6284, allocations: 1.688 kB / 0.816 GB, free: 29.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.6285, allocations: 3.234 kB / 0.816 GB, free: 29.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.6303, allocations: 1.264 MB / 0.8173 GB, free: 29.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.6303, allocations: 1.75 kB / 0.8173 GB, free: 29.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.6306, allocations: 55.81 kB / 0.8173 GB, free: 29.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/0.631, allocations: 146.5 kB / 0.8175 GB, free: 29.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.6311, allocations: 11.33 kB / 0.8175 GB, free: 29.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002495/0.6336, allocations: 4.328 MB / 0.8217 GB, free: 24.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6336, allocations: 2.859 kB / 0.8217 GB, free: 24.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.6347, allocations: 0.7172 MB / 0.8224 GB, free: 24.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.6349, allocations: 166.6 kB / 0.8226 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.635, allocations: 11.16 kB / 0.8226 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.6352, allocations: 23.12 kB / 0.8226 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.6353, allocations: 40.77 kB / 0.8226 GB, free: 24.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.6354, allocations: 8.219 kB / 0.8227 GB, free: 24.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004038/0.6358, allocations: 342.5 kB / 0.823 GB, free: 24.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6358, allocations: 0 / 0.823 GB, free: 24.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007457/0.6365, allocations: 143 kB / 0.8231 GB, free: 24.04 MB / 0.6544 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001519/0.6367, allocations: 111.1 kB / 0.8232 GB, free: 23.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.6381, allocations: 1.073 MB / 0.8243 GB, free: 23.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6382, allocations: 1.25 kB / 0.8243 GB, free: 23.22 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009081/0.6391, allocations: 0.7352 MB / 0.825 GB, free: 22.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.6404, allocations: 206.8 kB / 0.8252 GB, free: 22.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.6425, allocations: 1.107 MB / 0.8263 GB, free: 21.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.643, allocations: 0.9094 MB / 0.8272 GB, free: 21.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.6431, allocations: 43.5 kB / 0.8272 GB, free: 21.19 MB / 0.6544 GB Notification: Performance of SimCode: time 2.264e-06/0.6432, allocations: 1.031 kB / 0.8272 GB, free: 21.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.02674/0.6699, allocations: 18.31 MB / 0.8451 GB, free: 16.2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (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)