Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 289.7 MB / 302.3 MB, free: 2.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 180.6 kB / 371.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 88.61 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.29e-05/4.293e-05, allocations: 4 kB / 0.8663 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2993, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8901/1.189, allocations: 167.9 MB / 1.144 GB, free: 23.77 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/1.19, allocations: 90.34 kB / 1.144 GB, free: 23.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04384/1.234, allocations: 18.09 MB / 1.162 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.754e-06/1.234, allocations: 0 / 1.162 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.742e-05/1.234, allocations: 11.92 kB / 1.162 GB, free: 14.27 MB / 0.7448 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.0008229/1.235, allocations: 0.5229 MB / 1.162 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.235, allocations: 8.031 kB / 1.162 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000782/1.235, allocations: 103.5 kB / 1.162 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/1.236, allocations: 257.9 kB / 1.162 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/1.236, allocations: 18.64 kB / 1.162 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/1.236, allocations: 15.94 kB / 1.162 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/1.236, allocations: 365.6 kB / 1.163 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/1.236, allocations: 1.406 kB / 1.163 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/1.236, allocations: 7.75 kB / 1.163 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/1.236, allocations: 23.61 kB / 1.163 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004484/1.237, allocations: 329.7 kB / 1.163 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/1.238, allocations: 1.739 MB / 1.165 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/1.239, allocations: 329.8 kB / 1.165 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/1.239, allocations: 171.8 kB / 1.165 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/1.239, allocations: 91.52 kB / 1.165 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/1.239, allocations: 34.56 kB / 1.165 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/1.239, allocations: 0 / 1.165 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.005775/1.245, allocations: 1.72 MB / 1.167 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/1.245, allocations: 85.05 kB / 1.167 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/1.245, allocations: 165.3 kB / 1.167 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/1.245, allocations: 37.33 kB / 1.167 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/1.245, allocations: 146.9 kB / 1.168 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/1.245, allocations: 116.3 kB / 1.168 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/1.246, allocations: 7.188 kB / 1.168 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/1.246, allocations: 335.5 kB / 1.168 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/1.246, allocations: 218.5 kB / 1.168 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/1.246, allocations: 303.1 kB / 1.168 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/1.247, allocations: 259.5 kB / 1.169 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/1.247, allocations: 4 kB / 1.169 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007982/1.247, allocations: 0.5841 MB / 1.169 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/1.248, allocations: 0.868 MB / 1.17 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/1.248, allocations: 9.359 kB / 1.17 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.248, allocations: 4 kB / 1.17 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009433/1.249, allocations: 180.1 kB / 1.17 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/1.249, allocations: 5.312 kB / 1.17 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/1.249, allocations: 46.27 kB / 1.17 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/1.249, allocations: 16.83 kB / 1.17 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/1.249, allocations: 4 kB / 1.17 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006776/1.25, allocations: 0.5286 MB / 1.171 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/1.25, allocations: 0 / 1.171 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/1.25, allocations: 4 kB / 1.171 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008656/1.251, allocations: 168.8 kB / 1.171 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/1.251, allocations: 4 kB / 1.171 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/1.251, allocations: 47.67 kB / 1.171 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/1.251, allocations: 20.17 kB / 1.171 GB, free: 6.602 MB / 0.7448 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 () * 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.000105/1.251, allocations: 127 kB / 1.171 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/1.251, allocations: 24.28 kB / 1.171 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009255/1.252, allocations: 0.612 MB / 1.172 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.252, allocations: 4 kB / 1.172 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.252, allocations: 3.984 kB / 1.172 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.252, allocations: 0 / 1.172 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/1.254, allocations: 1.309 MB / 1.173 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.254, allocations: 4 kB / 1.173 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/1.254, allocations: 124.6 kB / 1.173 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/1.254, allocations: 4 kB / 1.173 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/1.254, allocations: 10.06 kB / 1.173 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/1.254, allocations: 7.953 kB / 1.173 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.254, allocations: 4 kB / 1.173 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/1.255, allocations: 0.7465 MB / 1.174 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/1.255, allocations: 144.2 kB / 1.174 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/1.255, allocations: 6.688 kB / 1.174 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/1.255, allocations: 46.25 kB / 1.174 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/1.256, allocations: 31.72 kB / 1.174 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/1.256, allocations: 11.88 kB / 1.174 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001098/1.256, allocations: 144.7 kB / 1.174 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.256, allocations: 0 / 1.174 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006836/1.256, allocations: 162.4 kB / 1.175 GB, free: 3.57 MB / 0.7448 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 () * 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.0002489/1.257, allocations: 159.5 kB / 1.175 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000976/1.258, allocations: 0.7612 MB / 1.175 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.258, allocations: 4 kB / 1.175 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/1.258, allocations: 225.5 kB / 1.176 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/1.258, allocations: 43.7 kB / 1.176 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008357/1.259, allocations: 0.5527 MB / 1.176 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/1.259, allocations: 0.7916 MB / 1.177 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004748/1.26, allocations: 186 kB / 1.177 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/1.26, allocations: 27.44 kB / 1.177 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of SimCode: time 1.263e-06/1.26, allocations: 0 / 1.177 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of Templates: time 0.007698/1.268, allocations: 4.52 MB / 1.182 GB, free: 12.76 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)