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.001488/0.001488, allocations: 111.3 kB / 16.37 MB, free: 6.418 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.001592/0.001592, allocations: 189.8 kB / 17.31 MB, free: 5.762 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.331/1.331, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001413/0.001413, allocations: 74.81 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2056, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.4077/0.6133, allocations: 4.9 MB / 0.7896 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003403/0.6168, allocations: 2.534 MB / 0.7921 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003709/0.6172, allocations: 24.19 kB / 0.7921 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.6183, allocations: 405 kB / 0.7925 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009385/0.6192, allocations: 439 kB / 0.7929 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007855/0.62, allocations: 400.5 kB / 0.7933 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000819/0.6209, allocations: 0.9225 MB / 0.7942 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004484/0.6213, allocations: 352.3 kB / 0.7945 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.6217, allocations: 349.3 kB / 0.7948 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.6221, allocations: 346 kB / 0.7952 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.6221, allocations: 38.31 kB / 0.7952 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005787/0.6227, allocations: 403.4 kB / 0.7956 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.6229, allocations: 184.6 kB / 0.7958 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.6231, allocations: 320.8 kB / 0.7961 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007572/0.6238, allocations: 0.8873 MB / 0.7969 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6239, allocations: 3.938 kB / 0.7969 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6239, allocations: 3.5 kB / 0.7969 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.6239, allocations: 0 / 0.7969 GB, free: 44.84 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.001171/0.6251, allocations: 0.9456 MB / 0.7979 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.6251, allocations: 6.969 kB / 0.7979 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.6263, allocations: 211.1 kB / 0.7981 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/0.627, allocations: 0.5455 MB / 0.7986 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.627, allocations: 30.47 kB / 0.7986 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.6271, allocations: 46.75 kB / 0.7987 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008675/0.628, allocations: 0.8518 MB / 0.7995 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.628, allocations: 10.84 kB / 0.7995 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.6281, allocations: 25.67 kB / 0.7995 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.531e-05/0.6282, allocations: 66.11 kB / 0.7996 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.6289, allocations: 0.5657 MB / 0.8002 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/0.6321, allocations: 5.642 MB / 0.8057 GB, free: 38.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.6328, allocations: 459 kB / 0.8061 GB, free: 37.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.6331, allocations: 226.8 kB / 0.8063 GB, free: 37.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.6332, allocations: 4.312 kB / 0.8063 GB, free: 37.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.6332, allocations: 35.97 kB / 0.8064 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 2.274e-06/0.6332, allocations: 0 / 0.8064 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002439/0.6356, allocations: 1.516 MB / 0.8078 GB, free: 36.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.6357, allocations: 55.05 kB / 0.8079 GB, free: 36.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/0.6362, allocations: 0.4983 MB / 0.8084 GB, free: 36.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.6363, allocations: 35.2 kB / 0.8084 GB, free: 36.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.6365, allocations: 356.9 kB / 0.8088 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.6366, allocations: 118.5 kB / 0.8089 GB, free: 36.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.6367, allocations: 110.9 kB / 0.809 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6368, allocations: 370.7 kB / 0.8093 GB, free: 35.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.6371, allocations: 191.5 kB / 0.8095 GB, free: 35.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.6376, allocations: 449.5 kB / 0.8099 GB, free: 35.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007417/0.6383, allocations: 0.6822 MB / 0.8106 GB, free: 34.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6383, allocations: 2.375 kB / 0.8106 GB, free: 34.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001283/0.6396, allocations: 0.8139 MB / 0.8114 GB, free: 34.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.6397, allocations: 9 kB / 0.8114 GB, free: 34.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.6397, allocations: 12.78 kB / 0.8114 GB, free: 34.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005028/0.6402, allocations: 160 kB / 0.8116 GB, free: 34.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.6407, allocations: 122.2 kB / 0.8117 GB, free: 34.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.6432, allocations: 4.347 MB / 0.8159 GB, free: 30.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.6436, allocations: 34.83 kB / 0.816 GB, free: 30.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/0.6437, allocations: 28.25 kB / 0.816 GB, free: 30.03 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.0002488/0.6439, allocations: 222.1 kB / 0.8162 GB, free: 29.85 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.709e-05/0.644, allocations: 61.81 kB / 0.8163 GB, free: 29.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.645, allocations: 0.5996 MB / 0.8169 GB, free: 29.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.6451, allocations: 4.188 kB / 0.8169 GB, free: 29.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6451, allocations: 1.25 kB / 0.8169 GB, free: 29.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.6451, allocations: 4.266 kB / 0.8169 GB, free: 29.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.6468, allocations: 1.265 MB / 0.8181 GB, free: 28.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.6468, allocations: 6.625 kB / 0.8181 GB, free: 28.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.6471, allocations: 49.42 kB / 0.8182 GB, free: 28.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004065/0.6475, allocations: 147.1 kB / 0.8183 GB, free: 28.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.6475, allocations: 11.72 kB / 0.8183 GB, free: 28.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/0.6498, allocations: 4.332 MB / 0.8225 GB, free: 24.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6499, allocations: 8.812 kB / 0.8225 GB, free: 24.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009398/0.6508, allocations: 0.7137 MB / 0.8232 GB, free: 24.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.651, allocations: 169.3 kB / 0.8234 GB, free: 23.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.6511, allocations: 12.95 kB / 0.8234 GB, free: 23.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.6513, allocations: 22.47 kB / 0.8234 GB, free: 23.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.6514, allocations: 32 kB / 0.8235 GB, free: 23.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.6515, allocations: 15.78 kB / 0.8235 GB, free: 23.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003996/0.6519, allocations: 335.3 kB / 0.8238 GB, free: 23.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6519, allocations: 0 / 0.8238 GB, free: 23.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007688/0.6527, allocations: 143 kB / 0.8239 GB, free: 23.72 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.0001373/0.6528, allocations: 109.6 kB / 0.824 GB, free: 23.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.6541, allocations: 1.036 MB / 0.8251 GB, free: 22.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6541, allocations: 0 / 0.8251 GB, free: 22.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007063/0.6548, allocations: 0.7318 MB / 0.8258 GB, free: 22.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.6558, allocations: 203.7 kB / 0.826 GB, free: 22.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.6573, allocations: 1.1 MB / 0.827 GB, free: 21.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.6577, allocations: 0.9091 MB / 0.8279 GB, free: 20.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.6578, allocations: 47.75 kB / 0.828 GB, free: 20.89 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.6578, allocations: 1.188 kB / 0.828 GB, free: 20.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.02284/0.6807, allocations: 18.31 MB / 0.8459 GB, free: 15.86 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)