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.001421/0.001421, allocations: 109.2 kB / 16.37 MB, free: 5.516 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.001566/0.001566, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 287.3 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9188/0.9188, allocations: 169.2 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 95.09 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1399, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003824/0.1437, allocations: 2.727 MB / 0.6843 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.1464, allocations: 2.026 MB / 0.6863 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.079e-05/0.1465, allocations: 4 kB / 0.6863 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.1472, allocations: 235 kB / 0.6865 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.1476, allocations: 191.2 kB / 0.6867 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.1481, allocations: 286.1 kB / 0.6869 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.1484, allocations: 307 kB / 0.6872 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.1487, allocations: 166 kB / 0.6874 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1489, allocations: 119.6 kB / 0.6875 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.1491, allocations: 155.5 kB / 0.6877 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.1492, allocations: 20 kB / 0.6877 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004925/0.1497, allocations: 387.2 kB / 0.688 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.253e-05/0.1498, allocations: 91.78 kB / 0.6881 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1499, allocations: 115.4 kB / 0.6882 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.1504, allocations: 466.7 kB / 0.6887 GB, free: 196 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1504, allocations: 4 kB / 0.6887 GB, free: 192 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1504, allocations: 0 / 0.6887 GB, free: 192 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1504, allocations: 0 / 0.6887 GB, free: 192 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.218/0.3684, allocations: 0.5454 MB / 0.6892 GB, free: 18.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3685, allocations: 10 kB / 0.6892 GB, free: 18.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007726/0.3692, allocations: 106.6 kB / 0.6893 GB, free: 18.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.3696, allocations: 263.5 kB / 0.6896 GB, free: 18.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.3696, allocations: 11.62 kB / 0.6896 GB, free: 18.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/0.3697, allocations: 22.58 kB / 0.6896 GB, free: 18.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.3702, allocations: 387.2 kB / 0.69 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3703, allocations: 5.562 kB / 0.69 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.3703, allocations: 10 kB / 0.69 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.3703, allocations: 19.8 kB / 0.69 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.3709, allocations: 361.8 kB / 0.6904 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.3726, allocations: 1.73 MB / 0.6921 GB, free: 16.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/0.3732, allocations: 340.4 kB / 0.6924 GB, free: 16.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.3735, allocations: 187.3 kB / 0.6926 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.3736, allocations: 88.45 kB / 0.6926 GB, free: 16.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.3737, allocations: 41.75 kB / 0.6927 GB, free: 16.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.3737, allocations: 0 / 0.6927 GB, free: 16.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.006959/0.3806, allocations: 1.909 MB / 0.6945 GB, free: 15.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.3807, allocations: 87.41 kB / 0.6946 GB, free: 15.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3808, allocations: 185.3 kB / 0.6948 GB, free: 15.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.3809, allocations: 31.11 kB / 0.6948 GB, free: 15.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.3809, allocations: 146.5 kB / 0.695 GB, free: 15.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.164e-05/0.381, allocations: 116 kB / 0.6951 GB, free: 15.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.3812, allocations: 80.56 kB / 0.6952 GB, free: 15.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.3812, allocations: 333.9 kB / 0.6955 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.3817, allocations: 251.8 kB / 0.6957 GB, free: 14.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.3822, allocations: 338.6 kB / 0.696 GB, free: 14.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009134/0.3831, allocations: 0.5947 MB / 0.6966 GB, free: 14.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3831, allocations: 1.438 kB / 0.6966 GB, free: 14.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001117/0.3842, allocations: 0.6412 MB / 0.6973 GB, free: 14.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3842, allocations: 6.656 kB / 0.6973 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3843, allocations: 1.969 kB / 0.6973 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3843, allocations: 4.562 kB / 0.6973 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008795/0.3852, allocations: 150.9 kB / 0.6974 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3852, allocations: 5.422 kB / 0.6974 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.3856, allocations: 48.86 kB / 0.6975 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.3856, allocations: 21.39 kB / 0.6975 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000503/0.3862, allocations: 356.7 kB / 0.6978 GB, free: 14.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004516/0.3866, allocations: 323.6 kB / 0.6981 GB, free: 13.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008556/0.3875, allocations: 0.5762 MB / 0.6987 GB, free: 13.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.935e-06/0.3875, allocations: 1.891 kB / 0.6987 GB, free: 13.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001051/0.3885, allocations: 0.6164 MB / 0.6993 GB, free: 13.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.3886, allocations: 6 kB / 0.6993 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.3886, allocations: 3.125 kB / 0.6993 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.3886, allocations: 4.5 kB / 0.6993 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/0.3894, allocations: 147.1 kB / 0.6995 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3894, allocations: 9.297 kB / 0.6995 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.3898, allocations: 47.91 kB / 0.6995 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.3899, allocations: 22.44 kB / 0.6995 GB, free: 13.31 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 9.365e-05/0.39, allocations: 204.4 kB / 0.6997 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.3901, allocations: 27.7 kB / 0.6997 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.3913, allocations: 0.6542 MB / 0.7004 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3913, allocations: 3.75 kB / 0.7004 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3913, allocations: 1.359 kB / 0.7004 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3913, allocations: 7.109 kB / 0.7004 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.3933, allocations: 1.368 MB / 0.7017 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3934, allocations: 2.828 kB / 0.7017 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.394, allocations: 120.9 kB / 0.7019 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.394, allocations: 3.125 kB / 0.7019 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.394, allocations: 9.391 kB / 0.7019 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.394, allocations: 3.875 kB / 0.7019 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.394, allocations: 11.69 kB / 0.7019 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008862/0.3949, allocations: 0.7159 MB / 0.7026 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.3951, allocations: 139.4 kB / 0.7027 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.3952, allocations: 14.08 kB / 0.7027 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.3955, allocations: 41.47 kB / 0.7028 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.3956, allocations: 34.05 kB / 0.7028 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.3956, allocations: 13.23 kB / 0.7028 GB, free: 11.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.3957, allocations: 138.2 kB / 0.7029 GB, free: 11.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3957, allocations: 0 / 0.7029 GB, free: 11.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006094/0.3963, allocations: 144.1 kB / 0.7031 GB, free: 11.27 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.0001626/0.3965, allocations: 140.4 kB / 0.7032 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.398, allocations: 0.8496 MB / 0.704 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3981, allocations: 0.6875 kB / 0.704 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.3985, allocations: 257.5 kB / 0.7043 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.399, allocations: 48.11 kB / 0.7043 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.4001, allocations: 0.6997 MB / 0.705 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.4003, allocations: 0.787 MB / 0.7058 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004703/0.4008, allocations: 171.9 kB / 0.7059 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.4009, allocations: 37.72 kB / 0.706 GB, free: 9.645 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4009, allocations: 0 / 0.706 GB, free: 9.645 MB / 494.1 MB Notification: Performance of Templates: time 0.008787/0.4097, allocations: 4.817 MB / 0.7107 GB, free: 9.387 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)