Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001524/0.001524, allocations: 112.3 kB / 16.41 MB, free: 6.008 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.001695/0.001695, allocations: 185 kB / 17.34 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002184/0.002184, allocations: 283 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9973/0.9973, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002548/0.002548, allocations: 96.22 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4352, allocations: 86.98 MB / 0.767 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005927/0.4412, allocations: 4.883 MB / 0.7718 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003713/0.4449, allocations: 2.487 MB / 0.7742 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.4454, allocations: 23.81 kB / 0.7743 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.4465, allocations: 401.9 kB / 0.7747 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.4475, allocations: 477.6 kB / 0.7751 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008576/0.4484, allocations: 385.4 kB / 0.7755 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009827/0.4494, allocations: 0.929 MB / 0.7764 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.4499, allocations: 358.8 kB / 0.7767 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004803/0.4504, allocations: 346.6 kB / 0.7771 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/0.4508, allocations: 354.4 kB / 0.7774 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.4509, allocations: 36 kB / 0.7774 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000618/0.4515, allocations: 407.1 kB / 0.7778 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.4517, allocations: 179.5 kB / 0.778 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.452, allocations: 322.2 kB / 0.7783 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009699/0.453, allocations: 0.8862 MB / 0.7792 GB, free: 7.434 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.453, allocations: 0 / 0.7792 GB, free: 7.434 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.453, allocations: 0 / 0.7792 GB, free: 7.434 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.757e-05/0.4531, allocations: 3.984 kB / 0.7792 GB, free: 7.43 MB / 0.545 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.001358/0.4544, allocations: 0.9502 MB / 0.7801 GB, free: 6.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.4545, allocations: 8.031 kB / 0.7801 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.4557, allocations: 199.8 kB / 0.7803 GB, free: 6.227 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007738/0.4565, allocations: 0.5529 MB / 0.7808 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.4565, allocations: 33.36 kB / 0.7809 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/0.4566, allocations: 44.38 kB / 0.7809 GB, free: 5.562 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009865/0.4576, allocations: 0.8487 MB / 0.7817 GB, free: 4.586 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.4576, allocations: 15.84 kB / 0.7817 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.4577, allocations: 23.98 kB / 0.7818 GB, free: 4.547 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.021e-05/0.4578, allocations: 64.95 kB / 0.7818 GB, free: 4.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007847/0.4586, allocations: 0.5695 MB / 0.7824 GB, free: 3.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00384/0.4624, allocations: 5.643 MB / 0.7879 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.463, allocations: 459.9 kB / 0.7883 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.4633, allocations: 228.7 kB / 0.7886 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.4633, allocations: 4 kB / 0.7886 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.4634, allocations: 34.56 kB / 0.7886 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.4634, allocations: 0 / 0.7886 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002327/0.4657, allocations: 1.506 MB / 0.7901 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.4658, allocations: 59.67 kB / 0.7901 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/0.4662, allocations: 0.499 MB / 0.7906 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.4663, allocations: 29.7 kB / 0.7906 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.4665, allocations: 366.8 kB / 0.791 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.4666, allocations: 126.2 kB / 0.7911 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.4667, allocations: 106.2 kB / 0.7912 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4668, allocations: 362.8 kB / 0.7916 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.4671, allocations: 197.2 kB / 0.7917 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.4675, allocations: 451 kB / 0.7922 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/0.4683, allocations: 0.6915 MB / 0.7928 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.4683, allocations: 4 kB / 0.7928 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001171/0.4695, allocations: 0.8092 MB / 0.7936 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4695, allocations: 8 kB / 0.7936 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4695, allocations: 8 kB / 0.7937 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004451/0.47, allocations: 164.5 kB / 0.7938 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.4704, allocations: 119.8 kB / 0.7939 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/0.4734, allocations: 4.344 MB / 0.7982 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.4737, allocations: 31.92 kB / 0.7982 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.4738, allocations: 31.98 kB / 0.7982 GB, free: 2.41 MB / 0.5606 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.0002254/0.474, allocations: 217.8 kB / 0.7984 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/0.4741, allocations: 67.19 kB / 0.7985 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000949/0.4751, allocations: 0.593 MB / 0.7991 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4751, allocations: 4 kB / 0.7991 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4751, allocations: 8 kB / 0.7991 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4751, allocations: 3.984 kB / 0.7991 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.4767, allocations: 1.259 MB / 0.8003 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4767, allocations: 4 kB / 0.8003 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.477, allocations: 51.89 kB / 0.8004 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003782/0.4774, allocations: 144.4 kB / 0.8005 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.4774, allocations: 11.94 kB / 0.8005 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/0.4802, allocations: 4.336 MB / 0.8048 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4803, allocations: 4.031 kB / 0.8048 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00089/0.4812, allocations: 0.7081 MB / 0.8055 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.4814, allocations: 176.3 kB / 0.8056 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.4814, allocations: 12 kB / 0.8056 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.4817, allocations: 19.97 kB / 0.8057 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.4818, allocations: 31.91 kB / 0.8057 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.4818, allocations: 8 kB / 0.8057 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003691/0.4822, allocations: 338.8 kB / 0.806 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4822, allocations: 0 / 0.806 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005677/0.4828, allocations: 144 kB / 0.8062 GB, free: 9.664 MB / 0.5762 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.0001143/0.4829, allocations: 111.2 kB / 0.8063 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.4842, allocations: 1.044 MB / 0.8073 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4842, allocations: 7.938 kB / 0.8073 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000753/0.4849, allocations: 0.7342 MB / 0.808 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009203/0.4859, allocations: 209.4 kB / 0.8082 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.4873, allocations: 1.088 MB / 0.8093 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.4878, allocations: 0.9098 MB / 0.8102 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.4879, allocations: 39.44 kB / 0.8102 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.4879, allocations: 4 kB / 0.8102 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of Templates: time 0.01863/0.5065, allocations: 18.38 MB / 0.8281 GB, free: 2.938 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)