Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001034, allocations: 103.8 kB / 16.36 MB, free: 5.547 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.0009908/0.0009909, allocations: 195.7 kB / 17.3 MB, free: 5.184 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.249/1.249, 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.002044/0.002044, allocations: 284 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8932/0.8932, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 93.25 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1774, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003958/0.1814, allocations: 2.74 MB / 0.6843 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.1841, allocations: 2.026 MB / 0.6863 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.1842, allocations: 4 kB / 0.6863 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007023/0.1849, allocations: 223.1 kB / 0.6865 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.1853, allocations: 203.1 kB / 0.6867 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.1858, allocations: 275.2 kB / 0.6869 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.1861, allocations: 315.1 kB / 0.6872 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.1864, allocations: 154 kB / 0.6874 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1866, allocations: 127.5 kB / 0.6875 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.1868, allocations: 147.5 kB / 0.6876 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.1869, allocations: 20 kB / 0.6877 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004989/0.1874, allocations: 387.3 kB / 0.688 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.1875, allocations: 95.77 kB / 0.6881 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.1876, allocations: 115.5 kB / 0.6882 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.1881, allocations: 466.7 kB / 0.6887 GB, free: 204 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1881, allocations: 0 / 0.6887 GB, free: 204 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1881, allocations: 3.938 kB / 0.6887 GB, free: 200 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1881, allocations: 0 / 0.6887 GB, free: 200 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.252/0.4401, allocations: 0.5491 MB / 0.6892 GB, free: 18.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4402, allocations: 9.562 kB / 0.6892 GB, free: 18.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/0.441, allocations: 108 kB / 0.6893 GB, free: 18.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.4414, allocations: 261.8 kB / 0.6896 GB, free: 18.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.4414, allocations: 15.56 kB / 0.6896 GB, free: 18.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.4415, allocations: 20.42 kB / 0.6896 GB, free: 18.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/0.4421, allocations: 384.7 kB / 0.69 GB, free: 18.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4421, allocations: 2.406 kB / 0.69 GB, free: 18.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.4421, allocations: 10.12 kB / 0.69 GB, free: 18.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-05/0.4422, allocations: 25.52 kB / 0.69 GB, free: 18.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006246/0.4428, allocations: 365.6 kB / 0.6904 GB, free: 18.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.4446, allocations: 1.725 MB / 0.6921 GB, free: 16.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.4453, allocations: 343.2 kB / 0.6924 GB, free: 16.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.4456, allocations: 182.8 kB / 0.6926 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.4457, allocations: 97.77 kB / 0.6927 GB, free: 16.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.4457, allocations: 37.47 kB / 0.6927 GB, free: 16.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.4457, allocations: 2.906 kB / 0.6927 GB, free: 16.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.006854/0.4526, allocations: 1.903 MB / 0.6945 GB, free: 15.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.4526, allocations: 85.39 kB / 0.6946 GB, free: 15.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.4528, allocations: 180.6 kB / 0.6948 GB, free: 15.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.4528, allocations: 36.33 kB / 0.6948 GB, free: 15.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.4529, allocations: 150.2 kB / 0.695 GB, free: 15.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.453, allocations: 115.5 kB / 0.6951 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.4531, allocations: 81.84 kB / 0.6952 GB, free: 15.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.414e-05/0.4532, allocations: 333.9 kB / 0.6955 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.4536, allocations: 255.6 kB / 0.6957 GB, free: 15.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.4541, allocations: 338.3 kB / 0.6961 GB, free: 14.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/0.4551, allocations: 0.5929 MB / 0.6966 GB, free: 14.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4551, allocations: 0.6875 kB / 0.6966 GB, free: 14.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001126/0.4562, allocations: 0.6384 MB / 0.6973 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4562, allocations: 9.844 kB / 0.6973 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4563, allocations: 2.875 kB / 0.6973 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.4563, allocations: 5.031 kB / 0.6973 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008561/0.4571, allocations: 150 kB / 0.6974 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.4572, allocations: 4.891 kB / 0.6974 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.4575, allocations: 49.64 kB / 0.6975 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.4576, allocations: 17.66 kB / 0.6975 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005152/0.4581, allocations: 360.7 kB / 0.6978 GB, free: 14.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004645/0.4586, allocations: 317 kB / 0.6981 GB, free: 13.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008703/0.4595, allocations: 0.5813 MB / 0.6987 GB, free: 13.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/0.4595, allocations: 0.625 kB / 0.6987 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001059/0.4605, allocations: 0.6162 MB / 0.6993 GB, free: 13.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.4606, allocations: 6.781 kB / 0.6993 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4606, allocations: 1.875 kB / 0.6993 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.4606, allocations: 4.562 kB / 0.6993 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/0.4614, allocations: 144.2 kB / 0.6995 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.4614, allocations: 12.38 kB / 0.6995 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.4618, allocations: 47.75 kB / 0.6995 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.4618, allocations: 17.22 kB / 0.6995 GB, free: 13.34 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.0001119/0.4619, allocations: 198.9 kB / 0.6997 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.462, allocations: 27.36 kB / 0.6997 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.4633, allocations: 0.6556 MB / 0.7004 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4633, allocations: 9.016 kB / 0.7004 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4633, allocations: 1.672 kB / 0.7004 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.4633, allocations: 2.75 kB / 0.7004 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.4654, allocations: 1.371 MB / 0.7017 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4654, allocations: 2.781 kB / 0.7017 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005634/0.466, allocations: 120.3 kB / 0.7018 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.466, allocations: 3.844 kB / 0.7019 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.466, allocations: 9.25 kB / 0.7019 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.466, allocations: 6.312 kB / 0.7019 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.466, allocations: 10.12 kB / 0.7019 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008938/0.4669, allocations: 0.7129 MB / 0.7026 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.4671, allocations: 147.2 kB / 0.7027 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.4672, allocations: 14.12 kB / 0.7027 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.4675, allocations: 37.11 kB / 0.7028 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/0.4676, allocations: 36.41 kB / 0.7028 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.4676, allocations: 9.5 kB / 0.7028 GB, free: 11.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.4677, allocations: 142.5 kB / 0.7029 GB, free: 11.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4677, allocations: 0 / 0.7029 GB, free: 11.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006335/0.4684, allocations: 144.6 kB / 0.7031 GB, free: 11.3 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.0001899/0.4686, allocations: 133.9 kB / 0.7032 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.4701, allocations: 0.8518 MB / 0.704 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4701, allocations: 0 / 0.704 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.4706, allocations: 258.5 kB / 0.7043 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.4711, allocations: 51.3 kB / 0.7043 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.4722, allocations: 0.703 MB / 0.705 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.4725, allocations: 0.7871 MB / 0.7058 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004601/0.4729, allocations: 170 kB / 0.706 GB, free: 9.684 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.4731, allocations: 33.5 kB / 0.706 GB, free: 9.676 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4731, allocations: 0 / 0.706 GB, free: 9.676 MB / 494.1 MB Notification: Performance of Templates: time 0.009487/0.4826, allocations: 4.823 MB / 0.7107 GB, free: 9.402 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)