Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.326/2.326, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001425, allocations: 185.7 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.499/2.499, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009583/0.0009582, allocations: 97.86 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006516/0.0006519, allocations: 12.75 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.215, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2467/0.4617, allocations: 147.9 MB / 1.044 GB, free: 13.45 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003881/0.4622, allocations: 91.94 kB / 1.044 GB, free: 13.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7228/1.185, allocations: 29.91 MB / 1.073 GB, free: 148.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/1.185, allocations: 4 kB / 1.073 GB, free: 148.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.302e-05/1.185, allocations: 17.88 kB / 1.073 GB, free: 148.8 MB / 0.698 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.002027/1.187, allocations: 0.8539 MB / 1.074 GB, free: 148.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.187, allocations: 13.91 kB / 1.074 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/1.189, allocations: 207.2 kB / 1.074 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/1.191, allocations: 497.1 kB / 1.075 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/1.191, allocations: 30.19 kB / 1.075 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/1.191, allocations: 48.55 kB / 1.075 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/1.193, allocations: 0.9368 MB / 1.076 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/1.193, allocations: 7.75 kB / 1.076 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/1.193, allocations: 28.47 kB / 1.076 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/1.193, allocations: 50.53 kB / 1.076 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/1.194, allocations: 0.5662 MB / 1.076 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006008/1.2, allocations: 5.665 MB / 1.082 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/1.202, allocations: 452.4 kB / 1.082 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/1.202, allocations: 224.3 kB / 1.083 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/1.202, allocations: 6.625 kB / 1.083 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/1.203, allocations: 36.28 kB / 1.083 GB, free: 142.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 3.166e-06/1.203, allocations: 0 / 1.083 GB, free: 142.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.004342/1.207, allocations: 1.506 MB / 1.084 GB, free: 141.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/1.207, allocations: 66.84 kB / 1.084 GB, free: 141.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008272/1.208, allocations: 0.4899 MB / 1.085 GB, free: 141.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/1.208, allocations: 32.36 kB / 1.085 GB, free: 141.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/1.208, allocations: 354 kB / 1.085 GB, free: 141.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/1.208, allocations: 117.3 kB / 1.085 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/1.208, allocations: 11.78 kB / 1.085 GB, free: 141.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.208, allocations: 368 kB / 1.085 GB, free: 140.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/1.209, allocations: 184.5 kB / 1.086 GB, free: 140.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/1.21, allocations: 418.6 kB / 1.086 GB, free: 140.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006141/1.21, allocations: 254.1 kB / 1.086 GB, free: 140.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/1.21, allocations: 5.406 kB / 1.086 GB, free: 140.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002201/1.212, allocations: 0.7657 MB / 1.087 GB, free: 140.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/1.213, allocations: 8.125 kB / 1.087 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/1.213, allocations: 7.469 kB / 1.087 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008299/1.213, allocations: 156.3 kB / 1.087 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008556/1.214, allocations: 116.7 kB / 1.087 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003863/1.218, allocations: 4.036 MB / 1.091 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008216/1.219, allocations: 39.47 kB / 1.091 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/1.219, allocations: 28.45 kB / 1.091 GB, free: 136.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000474/1.22, allocations: 213.6 kB / 1.092 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/1.22, allocations: 62 kB / 1.092 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/1.222, allocations: 0.5948 MB / 1.092 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/1.222, allocations: 4.031 kB / 1.092 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.222, allocations: 1.5 kB / 1.092 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/1.222, allocations: 3.984 kB / 1.092 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/1.225, allocations: 1.26 MB / 1.093 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.225, allocations: 4.219 kB / 1.093 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/1.225, allocations: 62.8 kB / 1.093 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006759/1.226, allocations: 141.8 kB / 1.094 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/1.226, allocations: 11.84 kB / 1.094 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003316/1.229, allocations: 4.024 MB / 1.098 GB, free: 130.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.23, allocations: 0 / 1.098 GB, free: 130.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/1.231, allocations: 0.7146 MB / 1.098 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/1.232, allocations: 159.8 kB / 1.098 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.232, allocations: 15.64 kB / 1.098 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004509/1.232, allocations: 22.78 kB / 1.098 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.232, allocations: 29.84 kB / 1.098 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/1.232, allocations: 15.34 kB / 1.098 GB, free: 130.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000505/1.233, allocations: 337.7 kB / 1.099 GB, free: 130 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.233, allocations: 4 kB / 1.099 GB, free: 130 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009967/1.234, allocations: 147.8 kB / 1.099 GB, free: 130 MB / 0.698 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001988/1.234, allocations: 114.4 kB / 1.099 GB, free: 129.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001957/1.236, allocations: 1.017 MB / 1.1 GB, free: 129.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.236, allocations: 4.125 kB / 1.1 GB, free: 129.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/1.237, allocations: 0.7282 MB / 1.101 GB, free: 128.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/1.239, allocations: 198.8 kB / 1.101 GB, free: 128.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/1.241, allocations: 1.236 MB / 1.102 GB, free: 127.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/1.242, allocations: 0.9101 MB / 1.103 GB, free: 126.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006283/1.243, allocations: 115.2 kB / 1.103 GB, free: 126.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/1.243, allocations: 43.2 kB / 1.103 GB, free: 126.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/1.243, allocations: 3.938 kB / 1.103 GB, free: 126.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02003/1.263, allocations: 7.062 MB / 1.11 GB, free: 121.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)