Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001544/0.001544, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002233/0.002233, allocations: 287.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9231/0.9231, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 94.94 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1443, allocations: 86.98 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.00426/0.1486, allocations: 2.791 MB / 0.6843 GB, free: 4.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.1515, allocations: 2.014 MB / 0.6863 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1517, allocations: 7.938 kB / 0.6863 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007815/0.1525, allocations: 239 kB / 0.6865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.153, allocations: 191.2 kB / 0.6867 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.1536, allocations: 283.2 kB / 0.687 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.154, allocations: 303.1 kB / 0.6873 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.1543, allocations: 158 kB / 0.6874 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.1545, allocations: 127.6 kB / 0.6876 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.1547, allocations: 151.5 kB / 0.6877 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.1548, allocations: 20 kB / 0.6877 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005608/0.1554, allocations: 387.3 kB / 0.6881 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1555, allocations: 91.77 kB / 0.6882 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1556, allocations: 119.4 kB / 0.6883 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.1562, allocations: 470.6 kB / 0.6887 GB, free: 116 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1562, allocations: 0 / 0.6887 GB, free: 116 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1562, allocations: 0 / 0.6887 GB, free: 116 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1562, allocations: 0 / 0.6887 GB, free: 116 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.233/0.3892, allocations: 0.5524 MB / 0.6893 GB, free: 18.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3893, allocations: 9.156 kB / 0.6893 GB, free: 18.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007623/0.39, allocations: 108.8 kB / 0.6894 GB, free: 18.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3903, allocations: 257.2 kB / 0.6896 GB, free: 18.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3903, allocations: 18.95 kB / 0.6897 GB, free: 18.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.3904, allocations: 19.02 kB / 0.6897 GB, free: 18.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.391, allocations: 387.4 kB / 0.69 GB, free: 18.06 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.391, allocations: 1.062 kB / 0.6901 GB, free: 18.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.391, allocations: 7.547 kB / 0.6901 GB, free: 18.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.3911, allocations: 24.92 kB / 0.6901 GB, free: 18.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.3917, allocations: 364.2 kB / 0.6904 GB, free: 18.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.3934, allocations: 1.73 MB / 0.6921 GB, free: 16.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008077/0.3942, allocations: 343.3 kB / 0.6924 GB, free: 16.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.3945, allocations: 184 kB / 0.6926 GB, free: 16.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.3946, allocations: 89.66 kB / 0.6927 GB, free: 16.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.3946, allocations: 36.69 kB / 0.6927 GB, free: 16.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.413e-06/0.3946, allocations: 1.25 kB / 0.6927 GB, free: 16.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.006876/0.4015, allocations: 1.921 MB / 0.6946 GB, free: 15.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.4016, allocations: 84.44 kB / 0.6947 GB, free: 15.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.4017, allocations: 184.3 kB / 0.6949 GB, free: 15.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.4017, allocations: 31.92 kB / 0.6949 GB, free: 15.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.4018, allocations: 146.9 kB / 0.695 GB, free: 15.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.925e-05/0.4019, allocations: 118.4 kB / 0.6952 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.402, allocations: 79.98 kB / 0.6952 GB, free: 15.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.549e-05/0.4021, allocations: 334.7 kB / 0.6956 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.4025, allocations: 249 kB / 0.6958 GB, free: 15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.403, allocations: 335.9 kB / 0.6961 GB, free: 14.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009102/0.4039, allocations: 0.5938 MB / 0.6967 GB, free: 14.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.4039, allocations: 0 / 0.6967 GB, free: 14.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001115/0.4051, allocations: 0.6419 MB / 0.6973 GB, free: 14.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4051, allocations: 10.36 kB / 0.6973 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4051, allocations: 3.344 kB / 0.6973 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4051, allocations: 4.25 kB / 0.6973 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008774/0.406, allocations: 147.1 kB / 0.6975 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.406, allocations: 4.469 kB / 0.6975 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.4064, allocations: 52.48 kB / 0.6975 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.4065, allocations: 17.38 kB / 0.6975 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004966/0.407, allocations: 361 kB / 0.6979 GB, free: 14.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004631/0.4075, allocations: 318.3 kB / 0.6982 GB, free: 13.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000876/0.4083, allocations: 0.5837 MB / 0.6988 GB, free: 13.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.4083, allocations: 2.641 kB / 0.6988 GB, free: 13.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00106/0.4094, allocations: 0.6161 MB / 0.6994 GB, free: 13.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.158e-06/0.4094, allocations: 14.16 kB / 0.6994 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.4094, allocations: 3.125 kB / 0.6994 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.4095, allocations: 3.578 kB / 0.6994 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008218/0.4103, allocations: 143 kB / 0.6995 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.4103, allocations: 5.156 kB / 0.6995 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.4107, allocations: 50.56 kB / 0.6996 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.4107, allocations: 21.08 kB / 0.6996 GB, free: 13.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.978e-05/0.4108, allocations: 201.5 kB / 0.6998 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-05/0.4109, allocations: 33 kB / 0.6998 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.4122, allocations: 0.6516 MB / 0.7005 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.4122, allocations: 3.844 kB / 0.7005 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4122, allocations: 0.75 kB / 0.7005 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4122, allocations: 2.719 kB / 0.7005 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.4142, allocations: 1.372 MB / 0.7018 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4142, allocations: 2.156 kB / 0.7018 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/0.4148, allocations: 121.1 kB / 0.7019 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.4148, allocations: 3.375 kB / 0.7019 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.4148, allocations: 9.875 kB / 0.7019 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.4148, allocations: 6.109 kB / 0.7019 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4148, allocations: 6.734 kB / 0.7019 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.4157, allocations: 0.7199 MB / 0.7026 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.4159, allocations: 140.5 kB / 0.7028 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.4159, allocations: 8.312 kB / 0.7028 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.4163, allocations: 37.86 kB / 0.7028 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.4164, allocations: 37.61 kB / 0.7029 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.4164, allocations: 13.22 kB / 0.7029 GB, free: 11.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.4165, allocations: 138.8 kB / 0.703 GB, free: 11.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4165, allocations: 0 / 0.703 GB, free: 11.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006098/0.4171, allocations: 143.4 kB / 0.7031 GB, free: 11.28 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001582/0.4173, allocations: 143.7 kB / 0.7033 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.4188, allocations: 0.8473 MB / 0.7041 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4188, allocations: 1.125 kB / 0.7041 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.4192, allocations: 253.6 kB / 0.7044 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.4197, allocations: 52.05 kB / 0.7044 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.4208, allocations: 0.7023 MB / 0.7051 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.421, allocations: 0.7863 MB / 0.7059 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004544/0.4215, allocations: 175.3 kB / 0.706 GB, free: 9.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.4216, allocations: 33.3 kB / 0.7061 GB, free: 9.652 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4216, allocations: 0 / 0.7061 GB, free: 9.652 MB / 494.1 MB Notification: Performance of Templates: time 0.008603/0.4302, allocations: 4.811 MB / 0.7108 GB, free: 9.418 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)