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.001247/0.001247, allocations: 104 kB / 16.35 MB, free: 5.824 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.001207/0.001207, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 284.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.9199/0.9199, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 93 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1721, allocations: 86.98 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003936/0.1761, allocations: 2.803 MB / 0.6843 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.1788, allocations: 2.014 MB / 0.6863 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/0.1789, allocations: 7.938 kB / 0.6863 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007264/0.1796, allocations: 235 kB / 0.6865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.18, allocations: 191.2 kB / 0.6867 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.1805, allocations: 275.2 kB / 0.687 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.1809, allocations: 311.1 kB / 0.6873 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.1811, allocations: 158 kB / 0.6874 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.1813, allocations: 127.5 kB / 0.6876 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.1816, allocations: 159.4 kB / 0.6877 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.1816, allocations: 20 kB / 0.6877 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004952/0.1821, allocations: 383.3 kB / 0.6881 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.1822, allocations: 99.75 kB / 0.6882 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.1823, allocations: 107.5 kB / 0.6883 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.1828, allocations: 466.7 kB / 0.6887 GB, free: 100 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1828, allocations: 3.938 kB / 0.6887 GB, free: 96 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1828, allocations: 0 / 0.6887 GB, free: 96 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1828, allocations: 0 / 0.6887 GB, free: 96 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.3118/0.4946, allocations: 0.5532 MB / 0.6893 GB, free: 18.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4947, allocations: 10.53 kB / 0.6893 GB, free: 18.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008273/0.4955, allocations: 105.5 kB / 0.6894 GB, free: 18.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.4958, allocations: 262.7 kB / 0.6896 GB, free: 18.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.4959, allocations: 14.81 kB / 0.6897 GB, free: 18.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.4959, allocations: 20.8 kB / 0.6897 GB, free: 18.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006746/0.4966, allocations: 386.4 kB / 0.69 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4966, allocations: 1.453 kB / 0.69 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.4967, allocations: 6.5 kB / 0.6901 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.6e-05/0.4967, allocations: 26.22 kB / 0.6901 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/0.4974, allocations: 358.7 kB / 0.6904 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.4993, allocations: 1.729 MB / 0.6921 GB, free: 16.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.5, allocations: 340.9 kB / 0.6924 GB, free: 16.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.5004, allocations: 184.5 kB / 0.6926 GB, free: 16.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.5005, allocations: 89.58 kB / 0.6927 GB, free: 16.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.5005, allocations: 34.59 kB / 0.6927 GB, free: 16.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 2.364e-06/0.5006, allocations: 0 / 0.6927 GB, free: 16.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.007193/0.5078, allocations: 1.913 MB / 0.6946 GB, free: 15.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.5078, allocations: 84.98 kB / 0.6947 GB, free: 15.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.508, allocations: 183.6 kB / 0.6949 GB, free: 15.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.508, allocations: 33.95 kB / 0.6949 GB, free: 15.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.5081, allocations: 146.9 kB / 0.695 GB, free: 15.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.579e-05/0.5082, allocations: 119.3 kB / 0.6951 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.5084, allocations: 83.2 kB / 0.6952 GB, free: 15.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.5085, allocations: 333.6 kB / 0.6955 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.509, allocations: 252.1 kB / 0.6958 GB, free: 14.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.5095, allocations: 331.1 kB / 0.6961 GB, free: 14.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.5105, allocations: 0.5995 MB / 0.6967 GB, free: 14.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5105, allocations: 1.156 kB / 0.6967 GB, free: 14.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001257/0.5118, allocations: 0.6436 MB / 0.6973 GB, free: 14.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5118, allocations: 6.312 kB / 0.6973 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.5118, allocations: 2.719 kB / 0.6973 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.5118, allocations: 4.094 kB / 0.6973 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009024/0.5128, allocations: 143.5 kB / 0.6975 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.5128, allocations: 12.62 kB / 0.6975 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.5132, allocations: 52.91 kB / 0.6975 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.5132, allocations: 14.12 kB / 0.6975 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005485/0.5138, allocations: 356.3 kB / 0.6979 GB, free: 14.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004989/0.5143, allocations: 325.8 kB / 0.6982 GB, free: 13.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009031/0.5152, allocations: 0.5808 MB / 0.6988 GB, free: 13.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.5152, allocations: 4 kB / 0.6988 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001187/0.5164, allocations: 0.6169 MB / 0.6994 GB, free: 13.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.5164, allocations: 6.25 kB / 0.6994 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.5165, allocations: 2.406 kB / 0.6994 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.5165, allocations: 8.703 kB / 0.6994 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007943/0.5173, allocations: 143.7 kB / 0.6995 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.5173, allocations: 4.625 kB / 0.6995 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.5177, allocations: 46.66 kB / 0.6996 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.5177, allocations: 16.94 kB / 0.6996 GB, free: 13.3 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 0.0001305/0.5178, allocations: 206.1 kB / 0.6998 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-05/0.5179, allocations: 31.89 kB / 0.6998 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.5192, allocations: 0.6539 MB / 0.7004 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.5193, allocations: 5.141 kB / 0.7004 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5193, allocations: 4 kB / 0.7005 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.5193, allocations: 2.875 kB / 0.7005 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.5215, allocations: 1.369 MB / 0.7018 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5215, allocations: 3.094 kB / 0.7018 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.5221, allocations: 116 kB / 0.7019 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.5221, allocations: 7.531 kB / 0.7019 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.5221, allocations: 15.97 kB / 0.7019 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.5221, allocations: 3.625 kB / 0.7019 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5221, allocations: 5.938 kB / 0.7019 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009844/0.5231, allocations: 0.7088 MB / 0.7026 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.5233, allocations: 144.7 kB / 0.7028 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.5234, allocations: 12.25 kB / 0.7028 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.5237, allocations: 37.28 kB / 0.7028 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.5238, allocations: 38.27 kB / 0.7029 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.5238, allocations: 9.609 kB / 0.7029 GB, free: 11.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.524, allocations: 142.5 kB / 0.703 GB, free: 11.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.524, allocations: 0 / 0.703 GB, free: 11.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007317/0.5247, allocations: 146 kB / 0.7031 GB, free: 11.26 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.0002352/0.525, allocations: 136.7 kB / 0.7033 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.5268, allocations: 0.8501 MB / 0.7041 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5268, allocations: 4.031 kB / 0.7041 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004951/0.5273, allocations: 253.6 kB / 0.7043 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.5278, allocations: 52.52 kB / 0.7044 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.5292, allocations: 0.698 MB / 0.7051 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.5295, allocations: 0.7899 MB / 0.7058 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005155/0.53, allocations: 164.3 kB / 0.706 GB, free: 9.648 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.5302, allocations: 33.75 kB / 0.706 GB, free: 9.641 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5302, allocations: 0 / 0.706 GB, free: 9.641 MB / 494.1 MB Notification: Performance of Templates: time 0.009976/0.5402, allocations: 4.821 MB / 0.7107 GB, free: 9.41 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)