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.001648/0.001648, allocations: 104.4 kB / 16.41 MB, free: 6.398 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.001822/0.001823, allocations: 195.7 kB / 17.35 MB, free: 5.695 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 291.2 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9875/0.9875, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5234/0.5256, allocations: 86.98 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005242/0.5309, allocations: 2.736 MB / 0.7697 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003888/0.5348, allocations: 2.006 MB / 0.7717 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.5351, allocations: 4 kB / 0.7717 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009111/0.536, allocations: 243 kB / 0.7719 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006085/0.5366, allocations: 195.2 kB / 0.7721 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000831/0.5374, allocations: 275.2 kB / 0.7724 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004742/0.5379, allocations: 315 kB / 0.7727 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.5383, allocations: 158 kB / 0.7728 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.5386, allocations: 123.6 kB / 0.7729 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.5389, allocations: 151.4 kB / 0.7731 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.539, allocations: 20 kB / 0.7731 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006754/0.5397, allocations: 383.3 kB / 0.7735 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.5398, allocations: 103.7 kB / 0.7736 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.54, allocations: 111.5 kB / 0.7737 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007709/0.5407, allocations: 473.2 kB / 0.7741 GB, free: 12.65 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.5408, allocations: 0 / 0.7741 GB, free: 12.65 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5408, allocations: 0 / 0.7741 GB, free: 12.65 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.5408, allocations: 0 / 0.7741 GB, free: 12.65 MB / 0.545 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.001119/0.5419, allocations: 0.5575 MB / 0.7747 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.5419, allocations: 12.03 kB / 0.7747 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000843/0.5428, allocations: 104.5 kB / 0.7748 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.5432, allocations: 264.4 kB / 0.775 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.5432, allocations: 16.81 kB / 0.775 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.5433, allocations: 24.12 kB / 0.7751 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/0.544, allocations: 385.9 kB / 0.7754 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.544, allocations: 0 / 0.7754 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.544, allocations: 7.938 kB / 0.7754 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/0.5441, allocations: 23.98 kB / 0.7755 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007065/0.5448, allocations: 351.7 kB / 0.7758 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.5469, allocations: 1.738 MB / 0.7775 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/0.5476, allocations: 336.9 kB / 0.7778 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.5479, allocations: 188.5 kB / 0.778 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.5481, allocations: 93.09 kB / 0.7781 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.5481, allocations: 38.5 kB / 0.7781 GB, free: 8.242 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.5481, allocations: 0 / 0.7781 GB, free: 8.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.007417/0.5556, allocations: 1.905 MB / 0.78 GB, free: 6.328 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.5556, allocations: 85.11 kB / 0.7801 GB, free: 6.227 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.5558, allocations: 184 kB / 0.7802 GB, free: 6.035 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.5559, allocations: 33.7 kB / 0.7803 GB, free: 5.996 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.556, allocations: 148.3 kB / 0.7804 GB, free: 5.848 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.5561, allocations: 122.3 kB / 0.7805 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.5563, allocations: 77.59 kB / 0.7806 GB, free: 5.645 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5564, allocations: 334.8 kB / 0.7809 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.5569, allocations: 256.7 kB / 0.7812 GB, free: 5.055 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.5575, allocations: 329.5 kB / 0.7815 GB, free: 4.699 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.5585, allocations: 0.5995 MB / 0.7821 GB, free: 4.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5585, allocations: 3.938 kB / 0.7821 GB, free: 4.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001232/0.5598, allocations: 0.6353 MB / 0.7827 GB, free: 3.426 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.5598, allocations: 8 kB / 0.7827 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.5598, allocations: 0 / 0.7827 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.5598, allocations: 4 kB / 0.7827 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009007/0.5607, allocations: 155.7 kB / 0.7828 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.5608, allocations: 4.25 kB / 0.7829 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.5612, allocations: 55.86 kB / 0.7829 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.5612, allocations: 16 kB / 0.7829 GB, free: 3.188 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005749/0.5618, allocations: 362.3 kB / 0.7833 GB, free: 2.832 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005042/0.5623, allocations: 330.6 kB / 0.7836 GB, free: 2.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000983/0.5633, allocations: 0.5666 MB / 0.7841 GB, free: 1.879 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.5633, allocations: 3.938 kB / 0.7841 GB, free: 1.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001156/0.5645, allocations: 0.6143 MB / 0.7847 GB, free: 1.254 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.5645, allocations: 8 kB / 0.7847 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5645, allocations: 0 / 0.7847 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.5645, allocations: 4.281 kB / 0.7847 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/0.5654, allocations: 151.8 kB / 0.7849 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.5654, allocations: 7.938 kB / 0.7849 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.5658, allocations: 47.94 kB / 0.7849 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.5658, allocations: 15.98 kB / 0.785 GB, free: 1.023 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.566, allocations: 204.1 kB / 0.7852 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.647e-05/0.5661, allocations: 23.81 kB / 0.7852 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.5675, allocations: 0.661 MB / 0.7858 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.5675, allocations: 4 kB / 0.7858 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.5675, allocations: 4 kB / 0.7858 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.5675, allocations: 7.984 kB / 0.7858 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.5697, allocations: 1.356 MB / 0.7872 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5698, allocations: 4 kB / 0.7872 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/0.5703, allocations: 119.8 kB / 0.7873 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.5704, allocations: 4 kB / 0.7873 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.5704, allocations: 12.25 kB / 0.7873 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/0.5704, allocations: 11.92 kB / 0.7873 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.5704, allocations: 7.938 kB / 0.7873 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.5718, allocations: 0.709 MB / 0.788 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.572, allocations: 144.7 kB / 0.7881 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.5721, allocations: 8 kB / 0.7882 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.5725, allocations: 47.88 kB / 0.7882 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.5727, allocations: 31.84 kB / 0.7882 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.5727, allocations: 16 kB / 0.7882 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001877/0.5729, allocations: 139.2 kB / 0.7884 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5729, allocations: 0 / 0.7884 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001117/0.574, allocations: 144 kB / 0.7885 GB, free: 13.21 MB / 0.5606 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 (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.0003385/0.5744, allocations: 141.8 kB / 0.7887 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.5768, allocations: 0.8527 MB / 0.7895 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5768, allocations: 0 / 0.7895 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.5775, allocations: 252.2 kB / 0.7897 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007798/0.5783, allocations: 55.69 kB / 0.7898 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.5802, allocations: 0.7376 MB / 0.7905 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.5808, allocations: 0.7838 MB / 0.7913 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.5811, allocations: 35.42 kB / 0.7913 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/0.5811, allocations: 0 / 0.7913 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.01215/0.5933, allocations: 4.796 MB / 0.796 GB, free: 5.5 MB / 0.5606 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)