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.001048/0.001048, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001003/0.001003, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002091, allocations: 296.2 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9166/0.9166, allocations: 169.2 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 98.5 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1449, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006098/0.151, allocations: 4.874 MB / 0.6864 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003799/0.1548, allocations: 2.491 MB / 0.6888 GB, free: 64 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/0.1552, allocations: 27.75 kB / 0.6888 GB, free: 36 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2379/0.3931, allocations: 395.6 kB / 0.6892 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.3941, allocations: 441.2 kB / 0.6896 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007997/0.3949, allocations: 405.3 kB / 0.69 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000791/0.3957, allocations: 0.9269 MB / 0.6909 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004778/0.3962, allocations: 359.5 kB / 0.6913 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003492/0.3966, allocations: 342.1 kB / 0.6916 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.397, allocations: 349.4 kB / 0.6919 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/0.3971, allocations: 37.78 kB / 0.692 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005642/0.3976, allocations: 402.6 kB / 0.6923 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.3978, allocations: 181.6 kB / 0.6925 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.3981, allocations: 319.5 kB / 0.6928 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000885/0.399, allocations: 0.8852 MB / 0.6937 GB, free: 12.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.399, allocations: 0 / 0.6937 GB, free: 12.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.399, allocations: 0 / 0.6937 GB, free: 12.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.399, allocations: 1.875 kB / 0.6937 GB, free: 12.5 MB / 494.1 MB 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.001156/0.4002, allocations: 0.9516 MB / 0.6946 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.4002, allocations: 10.16 kB / 0.6946 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.4014, allocations: 206.7 kB / 0.6948 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007771/0.4022, allocations: 0.5484 MB / 0.6954 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.4022, allocations: 33.56 kB / 0.6954 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/0.4023, allocations: 49.78 kB / 0.6954 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009134/0.4032, allocations: 0.8384 MB / 0.6963 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.4033, allocations: 14.3 kB / 0.6963 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.4033, allocations: 23.45 kB / 0.6963 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.88e-05/0.4034, allocations: 65.33 kB / 0.6964 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007779/0.4042, allocations: 0.5719 MB / 0.6969 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.4073, allocations: 5.642 MB / 0.7024 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.4079, allocations: 456.5 kB / 0.7029 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.4082, allocations: 227.5 kB / 0.7031 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.4082, allocations: 3.188 kB / 0.7031 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.4083, allocations: 37.44 kB / 0.7031 GB, free: 5.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.4083, allocations: 0 / 0.7031 GB, free: 5.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.002161/0.4104, allocations: 1.503 MB / 0.7046 GB, free: 4.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.4105, allocations: 54.91 kB / 0.7046 GB, free: 4.547 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.4109, allocations: 0.509 MB / 0.7051 GB, free: 4.301 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.411, allocations: 31.77 kB / 0.7052 GB, free: 4.266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.4111, allocations: 358.6 kB / 0.7055 GB, free: 3.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.4112, allocations: 116.2 kB / 0.7056 GB, free: 3.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.4114, allocations: 111.3 kB / 0.7057 GB, free: 3.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.4114, allocations: 366.1 kB / 0.7061 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.4117, allocations: 192.5 kB / 0.7063 GB, free: 3.434 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.4121, allocations: 447.8 kB / 0.7067 GB, free: 3.043 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.4127, allocations: 0.699 MB / 0.7074 GB, free: 2.508 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4127, allocations: 3.156 kB / 0.7074 GB, free: 2.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001159/0.4139, allocations: 0.8125 MB / 0.7082 GB, free: 2.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4139, allocations: 10.88 kB / 0.7082 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4139, allocations: 9.219 kB / 0.7082 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/0.4144, allocations: 156.2 kB / 0.7083 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.4148, allocations: 126.2 kB / 0.7085 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.4176, allocations: 4.336 MB / 0.7127 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.418, allocations: 34.47 kB / 0.7127 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.418, allocations: 28.61 kB / 0.7127 GB, free: 13.78 MB / 0.4981 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.0002442/0.4183, allocations: 224.4 kB / 0.713 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.4184, allocations: 66.45 kB / 0.713 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.4195, allocations: 0.5956 MB / 0.7136 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4195, allocations: 2.875 kB / 0.7136 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4195, allocations: 9.75 kB / 0.7136 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.4195, allocations: 2.156 kB / 0.7136 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.4214, allocations: 1.261 MB / 0.7149 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4215, allocations: 6.953 kB / 0.7149 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.4217, allocations: 54.31 kB / 0.7149 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003869/0.4221, allocations: 139.2 kB / 0.715 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.4221, allocations: 11.94 kB / 0.7151 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003041/0.4252, allocations: 4.33 MB / 0.7193 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4252, allocations: 3.172 kB / 0.7193 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.4262, allocations: 0.7135 MB / 0.72 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.4265, allocations: 166 kB / 0.7201 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.4266, allocations: 18.72 kB / 0.7202 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.4268, allocations: 21.95 kB / 0.7202 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.4269, allocations: 31.73 kB / 0.7202 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.4269, allocations: 12.25 kB / 0.7202 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003552/0.4273, allocations: 338.7 kB / 0.7205 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4273, allocations: 0 / 0.7205 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006023/0.4279, allocations: 139 kB / 0.7207 GB, free: 7.488 MB / 0.4981 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.0001226/0.428, allocations: 114.8 kB / 0.7208 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.4294, allocations: 1.038 MB / 0.7218 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4294, allocations: 0 / 0.7218 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008106/0.4302, allocations: 0.7355 MB / 0.7225 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000949/0.4312, allocations: 203.1 kB / 0.7227 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.4327, allocations: 1.037 MB / 0.7237 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.4331, allocations: 0.9146 MB / 0.7246 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002865/0.4334, allocations: 123 kB / 0.7247 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.4335, allocations: 38.88 kB / 0.7248 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.4335, allocations: 1.344 kB / 0.7248 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of Templates: time 0.01286/0.4464, allocations: 7.624 MB / 0.7322 GB, free: 2.184 MB / 0.4981 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)