Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.605/1.605, allocations: 297.8 MB / 313.7 MB, free: 104 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.0009974/0.0009976, allocations: 180.5 kB / 384.6 MB, free: 10.86 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.339/1.339, allocations: 223.2 MB / 0.6626 GB, free: 4.281 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.0008257/0.0008253, allocations: 92.7 kB / 0.7808 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.000396, allocations: 12 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6191/0.6195, allocations: 120.3 MB / 1.026 GB, free: 55.74 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.8182, allocations: 170.5 MB / 1.193 GB, free: 7.309 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.8185, allocations: 98.02 kB / 1.193 GB, free: 7.215 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.04641/0.8649, allocations: 19.98 MB / 1.212 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.874e-06/0.865, allocations: 0 / 1.212 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.283e-05/0.865, allocations: 8 kB / 1.212 GB, free: 3.402 MB / 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.0009807/0.866, allocations: 0.5541 MB / 1.213 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.8661, allocations: 12.02 kB / 1.213 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008131/0.8669, allocations: 100.5 kB / 1.213 GB, free: 2.688 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.8672, allocations: 257.7 kB / 1.213 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.8673, allocations: 12.81 kB / 1.213 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.8673, allocations: 20.38 kB / 1.213 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006547/0.868, allocations: 387.1 kB / 1.214 GB, free: 1.961 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.868, allocations: 4 kB / 1.214 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.8681, allocations: 8 kB / 1.214 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.8681, allocations: 20.55 kB / 1.214 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/0.8688, allocations: 375.6 kB / 1.214 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.8708, allocations: 1.732 MB / 1.216 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.8714, allocations: 345 kB / 1.216 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.8718, allocations: 190.4 kB / 1.216 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.8719, allocations: 91.12 kB / 1.216 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.872, allocations: 42.5 kB / 1.216 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/0.872, allocations: 1.312 kB / 1.216 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of matching and sorting (n=35): time 0.007044/0.879, allocations: 2.073 MB / 1.218 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.8792, allocations: 85.11 kB / 1.219 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.8794, allocations: 182.9 kB / 1.219 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/0.8795, allocations: 33.7 kB / 1.219 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.8796, allocations: 148.3 kB / 1.219 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.8797, allocations: 122.3 kB / 1.219 GB, free: 12.31 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.8797, allocations: 4 kB / 1.219 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8799, allocations: 330.8 kB / 1.219 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.8803, allocations: 259.8 kB / 1.22 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.8808, allocations: 355.5 kB / 1.22 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.8818, allocations: 0.6168 MB / 1.22 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8818, allocations: 0 / 1.22 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001213/0.8831, allocations: 0.654 MB / 1.221 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.8832, allocations: 161.6 kB / 1.221 GB, free: 9.844 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.8832, allocations: 4 kB / 1.221 GB, free: 9.84 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.8832, allocations: 4 kB / 1.221 GB, free: 9.836 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/0.884, allocations: 157.7 kB / 1.221 GB, free: 9.684 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.8841, allocations: 7.984 kB / 1.221 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.8845, allocations: 51.94 kB / 1.221 GB, free: 9.625 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.8845, allocations: 20.92 kB / 1.222 GB, free: 9.605 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.8846, allocations: 4.625 kB / 1.222 GB, free: 9.602 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001033/0.8856, allocations: 0.5855 MB / 1.222 GB, free: 9.016 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.8856, allocations: 7.938 kB / 1.222 GB, free: 9.008 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.8856, allocations: 4 kB / 1.222 GB, free: 9.004 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007578/0.8864, allocations: 147.8 kB / 1.222 GB, free: 8.859 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.8864, allocations: 7.984 kB / 1.222 GB, free: 8.852 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.8868, allocations: 56.06 kB / 1.222 GB, free: 8.797 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.8868, allocations: 12.86 kB / 1.222 GB, free: 8.785 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.0002248/0.887, allocations: 241 kB / 1.223 GB, free: 8.539 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.877e-05/0.8871, allocations: 24.78 kB / 1.223 GB, free: 8.516 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.8884, allocations: 0.6867 MB / 1.223 GB, free: 7.824 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.8885, allocations: 4 kB / 1.223 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.8885, allocations: 0 / 1.223 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.8885, allocations: 4.734 kB / 1.223 GB, free: 7.816 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.8906, allocations: 1.379 MB / 1.225 GB, free: 6.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.8907, allocations: 6.906 kB / 1.225 GB, free: 6.336 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/0.8912, allocations: 128.1 kB / 1.225 GB, free: 6.211 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.8912, allocations: 4 kB / 1.225 GB, free: 6.207 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.8913, allocations: 12 kB / 1.225 GB, free: 6.195 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.8913, allocations: 4 kB / 1.225 GB, free: 6.191 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8913, allocations: 1.938 kB / 1.225 GB, free: 6.191 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009817/0.8923, allocations: 0.7361 MB / 1.225 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.8925, allocations: 148.7 kB / 1.226 GB, free: 5.262 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.8925, allocations: 8 kB / 1.226 GB, free: 5.254 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.8928, allocations: 47.94 kB / 1.226 GB, free: 5.207 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.8929, allocations: 31.84 kB / 1.226 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.8929, allocations: 12 kB / 1.226 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001351/0.8931, allocations: 148.6 kB / 1.226 GB, free: 5.02 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8931, allocations: 0 / 1.226 GB, free: 5.02 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006436/0.8937, allocations: 167.9 kB / 1.226 GB, free: 4.855 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.0002401/0.894, allocations: 151.8 kB / 1.226 GB, free: 4.699 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.8955, allocations: 0.8798 MB / 1.227 GB, free: 3.82 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.8955, allocations: 4.188 kB / 1.227 GB, free: 3.816 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.8959, allocations: 260.2 kB / 1.227 GB, free: 3.562 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.8965, allocations: 47.09 kB / 1.227 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.8977, allocations: 0.828 MB / 1.228 GB, free: 2.645 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.898, allocations: 0.7838 MB / 1.229 GB, free: 1.836 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005703/0.8986, allocations: 169.2 kB / 1.229 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.8988, allocations: 32.17 kB / 1.229 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of SimCode: time 3.5e-07/0.8988, allocations: 3.938 kB / 1.229 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of Templates: time 0.007845/0.9066, allocations: 4.385 MB / 1.233 GB, free: 13.34 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)