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.004521/0.004521, allocations: 102 kB / 15.73 MB, free: 6.438 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.00104/0.00104, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 282.6 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9265/0.9265, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 95.84 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1797, allocations: 86.98 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006706/0.1864, allocations: 4.883 MB / 0.7712 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004257/0.1907, allocations: 2.475 MB / 0.7736 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000553/0.1913, allocations: 23.81 kB / 0.7736 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.1926, allocations: 405.9 kB / 0.774 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.1939, allocations: 477.6 kB / 0.7744 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3759/0.5699, allocations: 386.2 kB / 0.7748 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001952/0.5719, allocations: 0.9317 MB / 0.7757 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007859/0.5727, allocations: 358.5 kB / 0.7761 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005656/0.5733, allocations: 345.9 kB / 0.7764 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004946/0.5738, allocations: 346.1 kB / 0.7767 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-05/0.5739, allocations: 39.09 kB / 0.7768 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008822/0.5747, allocations: 400.7 kB / 0.7771 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.575, allocations: 183 kB / 0.7773 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.5753, allocations: 324.6 kB / 0.7776 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.5764, allocations: 0.8858 MB / 0.7785 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5764, allocations: 0 / 0.7785 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5765, allocations: 5.922 kB / 0.7785 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.5765, allocations: 0 / 0.7785 GB, free: 8.738 MB / 0.5606 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.001311/0.5778, allocations: 0.9501 MB / 0.7794 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5778, allocations: 9.625 kB / 0.7794 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.579, allocations: 201.1 kB / 0.7796 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/0.5798, allocations: 0.5513 MB / 0.7802 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.5798, allocations: 35.12 kB / 0.7802 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.5799, allocations: 45.11 kB / 0.7802 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00096/0.5809, allocations: 0.8441 MB / 0.7811 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.5809, allocations: 12.55 kB / 0.7811 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.5809, allocations: 24.19 kB / 0.7811 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.455e-05/0.581, allocations: 64.61 kB / 0.7812 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007845/0.5818, allocations: 0.5697 MB / 0.7817 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/0.5856, allocations: 5.641 MB / 0.7872 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.5863, allocations: 460.7 kB / 0.7877 GB, free: 18.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.5866, allocations: 226.6 kB / 0.7879 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.5866, allocations: 6.469 kB / 0.7879 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.5866, allocations: 38.34 kB / 0.7879 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.765e-06/0.5866, allocations: 0 / 0.7879 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002453/0.5891, allocations: 1.507 MB / 0.7894 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.5892, allocations: 57.83 kB / 0.7894 GB, free: 17.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000528/0.5897, allocations: 0.5 MB / 0.7899 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.5897, allocations: 34.45 kB / 0.79 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.5899, allocations: 356.7 kB / 0.7903 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.59, allocations: 120.4 kB / 0.7904 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.5901, allocations: 112.5 kB / 0.7905 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5903, allocations: 369.3 kB / 0.7909 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.5906, allocations: 194.7 kB / 0.7911 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.5909, allocations: 450.6 kB / 0.7915 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/0.5916, allocations: 0.6939 MB / 0.7922 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.5916, allocations: 2.531 kB / 0.7922 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001129/0.5927, allocations: 0.8057 MB / 0.793 GB, free: 15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5928, allocations: 9.875 kB / 0.793 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.5928, allocations: 9.906 kB / 0.793 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004889/0.5933, allocations: 155.2 kB / 0.7931 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.5937, allocations: 126 kB / 0.7932 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003208/0.5969, allocations: 4.344 MB / 0.7975 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.5974, allocations: 37.44 kB / 0.7975 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.5974, allocations: 32.42 kB / 0.7976 GB, free: 10.63 MB / 0.5762 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.0003038/0.5977, allocations: 219.1 kB / 0.7978 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.5978, allocations: 60.48 kB / 0.7978 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009713/0.5988, allocations: 0.5988 MB / 0.7984 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5988, allocations: 4.281 kB / 0.7984 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5988, allocations: 1.469 kB / 0.7984 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5988, allocations: 2.297 kB / 0.7984 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.6007, allocations: 1.265 MB / 0.7997 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6007, allocations: 3.438 kB / 0.7997 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.6009, allocations: 56.52 kB / 0.7997 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/0.6013, allocations: 151.7 kB / 0.7999 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.6014, allocations: 4.5 kB / 0.7999 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003115/0.6045, allocations: 4.336 MB / 0.8041 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6045, allocations: 3.047 kB / 0.8041 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.6056, allocations: 0.7149 MB / 0.8048 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.6059, allocations: 170.1 kB / 0.805 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.6059, allocations: 8.266 kB / 0.805 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.6062, allocations: 22.86 kB / 0.805 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.6063, allocations: 31.2 kB / 0.805 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.6063, allocations: 12.66 kB / 0.805 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004326/0.6067, allocations: 339.5 kB / 0.8054 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6068, allocations: 0 / 0.8054 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007528/0.6075, allocations: 144.7 kB / 0.8055 GB, free: 4.344 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.0001614/0.6077, allocations: 107.1 kB / 0.8056 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.6093, allocations: 1.044 MB / 0.8066 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6093, allocations: 0 / 0.8066 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008646/0.6102, allocations: 0.7316 MB / 0.8073 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009594/0.6112, allocations: 210.5 kB / 0.8075 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.6132, allocations: 1.049 MB / 0.8086 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/0.6139, allocations: 0.9058 MB / 0.8094 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003969/0.6143, allocations: 122.8 kB / 0.8096 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.6145, allocations: 40.03 kB / 0.8096 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.6145, allocations: 0 / 0.8096 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of Templates: time 0.01956/0.6341, allocations: 7.715 MB / 0.8171 GB, free: 0.7188 MB / 0.5762 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)