Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0007932/0.0007931, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006299/0.006299, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.7 MB / 0.5502 GB, free: 14.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008732/0.0008732, allocations: 18.16 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3389, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004086/0.343, allocations: 2.509 MB / 0.7903 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003642/0.3467, allocations: 2.028 MB / 0.7923 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.3469, allocations: 4 kB / 0.7923 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.3471, allocations: 31.77 kB / 0.7923 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006569/0.3478, allocations: 183.3 kB / 0.7925 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000789/0.3486, allocations: 239.5 kB / 0.7928 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005841/0.3492, allocations: 458.8 kB / 0.7932 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007507/0.35, allocations: 366.6 kB / 0.7935 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.3502, allocations: 99.56 kB / 0.7936 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003774/0.3506, allocations: 147.5 kB / 0.7938 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.774e-05/0.3507, allocations: 12 kB / 0.7938 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007629/0.3515, allocations: 443.1 kB / 0.7942 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3516, allocations: 83.78 kB / 0.7943 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.3517, allocations: 125.2 kB / 0.7944 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008076/0.3526, allocations: 482.5 kB / 0.7949 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3526, allocations: 4 kB / 0.7949 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3526, allocations: 0 / 0.7949 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.3526, allocations: 0 / 0.7949 GB, free: 4.359 MB / 0.6075 GB 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.001009/0.3536, allocations: 0.5069 MB / 0.7954 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/0.3537, allocations: 12.03 kB / 0.7954 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008436/0.3545, allocations: 112.5 kB / 0.7955 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.3549, allocations: 252.5 kB / 0.7957 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.355, allocations: 16.8 kB / 0.7957 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.014e-05/0.3551, allocations: 28.05 kB / 0.7958 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.3558, allocations: 393.9 kB / 0.7961 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3558, allocations: 3.938 kB / 0.7961 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.3558, allocations: 4 kB / 0.7962 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-05/0.3559, allocations: 31.77 kB / 0.7962 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/0.3567, allocations: 371.6 kB / 0.7965 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.359, allocations: 1.73 MB / 0.7982 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.3597, allocations: 345 kB / 0.7986 GB, free: 316 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.3601, allocations: 193.5 kB / 0.7987 GB, free: 116 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.3603, allocations: 93.08 kB / 0.7988 GB, free: 4 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.3603, allocations: 38.56 kB / 0.7989 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/0.3603, allocations: 0 / 0.7989 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35): time 0.007942/0.3683, allocations: 2.067 MB / 0.8009 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.3684, allocations: 81.11 kB / 0.801 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.3686, allocations: 187.6 kB / 0.8011 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.3687, allocations: 29.7 kB / 0.8012 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3688, allocations: 148.4 kB / 0.8013 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.3689, allocations: 122.3 kB / 0.8014 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/0.369, allocations: 33.7 kB / 0.8015 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3692, allocations: 334.8 kB / 0.8018 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.3697, allocations: 255.8 kB / 0.802 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.3703, allocations: 349.4 kB / 0.8024 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.3715, allocations: 0.6196 MB / 0.803 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.3715, allocations: 3.938 kB / 0.803 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001249/0.3727, allocations: 0.6658 MB / 0.8036 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.3729, allocations: 156.7 kB / 0.8038 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3729, allocations: 0 / 0.8038 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.373, allocations: 4 kB / 0.8038 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008987/0.3739, allocations: 155.8 kB / 0.8039 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.3739, allocations: 4 kB / 0.8039 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004295/0.3743, allocations: 59.92 kB / 0.804 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.3744, allocations: 12 kB / 0.804 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.3744, allocations: 7.938 kB / 0.804 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001156/0.3756, allocations: 0.5892 MB / 0.8046 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3756, allocations: 4.281 kB / 0.8046 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.3756, allocations: 4 kB / 0.8046 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/0.3764, allocations: 151.8 kB / 0.8047 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3765, allocations: 7.938 kB / 0.8047 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.3769, allocations: 55.94 kB / 0.8048 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.3769, allocations: 19.98 kB / 0.8048 GB, free: 9.703 MB / 0.6231 GB 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.0002838/0.3772, allocations: 241.6 kB / 0.805 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3773, allocations: 23.73 kB / 0.8051 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.3788, allocations: 0.6885 MB / 0.8057 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.3789, allocations: 8.047 kB / 0.8057 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.3789, allocations: 3.984 kB / 0.8057 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3789, allocations: 0 / 0.8057 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.3813, allocations: 1.39 MB / 0.8071 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.3813, allocations: 4 kB / 0.8071 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.3819, allocations: 119.8 kB / 0.8072 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.3819, allocations: 4 kB / 0.8072 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.3819, allocations: 8.25 kB / 0.8072 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.3819, allocations: 8 kB / 0.8072 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.3819, allocations: 15.84 kB / 0.8073 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.383, allocations: 0.7302 MB / 0.808 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.3832, allocations: 148.7 kB / 0.8081 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.3832, allocations: 8 kB / 0.8081 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.3835, allocations: 43.95 kB / 0.8082 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.13e-05/0.3836, allocations: 39.83 kB / 0.8082 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.3837, allocations: 11.94 kB / 0.8082 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001334/0.3838, allocations: 148.9 kB / 0.8083 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3838, allocations: 0 / 0.8083 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006391/0.3845, allocations: 140 kB / 0.8085 GB, free: 5.766 MB / 0.6231 GB 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.0002374/0.3847, allocations: 131.7 kB / 0.8086 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.3864, allocations: 0.8748 MB / 0.8095 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3864, allocations: 0.75 kB / 0.8095 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.3869, allocations: 272.3 kB / 0.8097 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/0.3874, allocations: 39.92 kB / 0.8098 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.3887, allocations: 0.8274 MB / 0.8106 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.3892, allocations: 0.7838 MB / 0.8113 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005248/0.3898, allocations: 178.8 kB / 0.8115 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.3899, allocations: 27.44 kB / 0.8115 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.3899, allocations: 4 kB / 0.8115 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of Templates: time 0.008595/0.3985, allocations: 4.493 MB / 0.8159 GB, free: 14.09 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) Environment - environmentSimulation: