Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.596/1.596, allocations: 297.8 MB / 313.7 MB, free: 164 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000943/0.000943, allocations: 188.4 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 0.6626 GB, free: 4.363 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008488/0.0008487, allocations: 97.83 kB / 0.7808 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004431, allocations: 12 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6744/0.6749, allocations: 120.3 MB / 1.026 GB, free: 56.1 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.8675, allocations: 173.2 MB / 1.195 GB, free: 4.613 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.8679, allocations: 96.66 kB / 1.196 GB, free: 4.52 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.04938/0.9173, allocations: 20.34 MB / 1.215 GB, free: 376 kB / 0.7761 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9173, allocations: 0 / 1.215 GB, free: 376 kB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.9173, allocations: 8 kB / 1.215 GB, free: 368 kB / 0.7761 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.0009147/0.9182, allocations: 0.5464 MB / 1.216 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.9183, allocations: 8.594 kB / 1.216 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008075/0.9191, allocations: 102.5 kB / 1.216 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.9195, allocations: 264.4 kB / 1.216 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.9195, allocations: 12.81 kB / 1.216 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.9195, allocations: 24.31 kB / 1.216 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/0.9202, allocations: 382.1 kB / 1.217 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.9202, allocations: 8.875 kB / 1.217 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.9202, allocations: 8 kB / 1.217 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.9203, allocations: 23.98 kB / 1.217 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/0.9209, allocations: 371.6 kB / 1.217 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.9228, allocations: 1.727 MB / 1.219 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.9234, allocations: 341 kB / 1.219 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.9237, allocations: 197.5 kB / 1.219 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.9239, allocations: 87.12 kB / 1.219 GB, free: 12 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.9239, allocations: 38.56 kB / 1.219 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=25): time 1.804e-06/0.924, allocations: 0 / 1.219 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of matching and sorting (n=35): time 0.006702/0.9307, allocations: 2.076 MB / 1.221 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.9307, allocations: 85.11 kB / 1.221 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.9309, allocations: 178.9 kB / 1.222 GB, free: 9.59 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.931, allocations: 29.7 kB / 1.222 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 8.761e-05/0.9311, allocations: 152.3 kB / 1.222 GB, free: 9.398 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.9312, allocations: 122.3 kB / 1.222 GB, free: 9.277 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.9312, allocations: 8 kB / 1.222 GB, free: 9.27 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.9313, allocations: 330.8 kB / 1.222 GB, free: 8.938 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.9318, allocations: 251.8 kB / 1.223 GB, free: 8.691 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.9323, allocations: 354.6 kB / 1.223 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009625/0.9332, allocations: 0.6168 MB / 1.223 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9332, allocations: 4 kB / 1.223 GB, free: 7.664 MB / 0.7917 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001113/0.9344, allocations: 0.654 MB / 1.224 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.9345, allocations: 162 kB / 1.224 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.9345, allocations: 4 kB / 1.224 GB, free: 6.809 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.9346, allocations: 8 kB / 1.224 GB, free: 6.801 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/0.9354, allocations: 151.8 kB / 1.224 GB, free: 6.652 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.9354, allocations: 4 kB / 1.224 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.9358, allocations: 57.98 kB / 1.224 GB, free: 6.594 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.9359, allocations: 24.77 kB / 1.224 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.9359, allocations: 0 / 1.224 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001037/0.9369, allocations: 0.5854 MB / 1.225 GB, free: 5.984 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.937, allocations: 7.938 kB / 1.225 GB, free: 5.977 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.64e-06/0.937, allocations: 4 kB / 1.225 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007458/0.9377, allocations: 150.9 kB / 1.225 GB, free: 5.828 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.9377, allocations: 7.938 kB / 1.225 GB, free: 5.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.9381, allocations: 55.92 kB / 1.225 GB, free: 5.766 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.9382, allocations: 16 kB / 1.225 GB, free: 5.75 MB / 0.7917 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002498/0.9384, allocations: 237 kB / 1.226 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.9385, allocations: 27.75 kB / 1.226 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.9398, allocations: 0.6776 MB / 1.226 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.9398, allocations: 8 kB / 1.226 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9398, allocations: 0 / 1.226 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.9398, allocations: 3.984 kB / 1.226 GB, free: 4.789 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.942, allocations: 1.386 MB / 1.228 GB, free: 3.309 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.942, allocations: 4.25 kB / 1.228 GB, free: 3.305 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/0.9425, allocations: 127.8 kB / 1.228 GB, free: 3.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.9426, allocations: 4 kB / 1.228 GB, free: 3.176 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.9426, allocations: 8 kB / 1.228 GB, free: 3.168 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.9426, allocations: 4 kB / 1.228 GB, free: 3.164 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.9426, allocations: 8.875 kB / 1.228 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009807/0.9436, allocations: 0.7272 MB / 1.228 GB, free: 2.398 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.9438, allocations: 148.7 kB / 1.229 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.9438, allocations: 12 kB / 1.229 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.9442, allocations: 43.94 kB / 1.229 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.175e-05/0.9443, allocations: 35.84 kB / 1.229 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.9443, allocations: 8 kB / 1.229 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001301/0.9444, allocations: 144.1 kB / 1.229 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9444, allocations: 0 / 1.229 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007033/0.9451, allocations: 171.9 kB / 1.229 GB, free: 1.828 MB / 0.7917 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000306/0.9455, allocations: 151.7 kB / 1.229 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.947, allocations: 0.8837 MB / 1.23 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.947, allocations: 0 / 1.23 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.9475, allocations: 269.3 kB / 1.23 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.948, allocations: 37.86 kB / 1.23 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.9493, allocations: 0.8205 MB / 1.231 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.9497, allocations: 0.7877 MB / 1.232 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0005584/0.9503, allocations: 175.6 kB / 1.232 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.9504, allocations: 27.42 kB / 1.232 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/0.9504, allocations: 3.938 kB / 1.232 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of Templates: time 0.007989/0.9584, allocations: 4.378 MB / 1.236 GB, free: 10.32 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)