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.001618/0.001618, allocations: 105 kB / 16.41 MB, free: 6.465 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: 187 kB / 17.34 MB, free: 5.719 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002506/0.002506, allocations: 283.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.039/1.039, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5845/0.5866, allocations: 86.97 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004673/0.5914, allocations: 2.736 MB / 0.7697 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003426/0.5948, allocations: 2.01 MB / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.595, allocations: 4 kB / 0.7717 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008839/0.5959, allocations: 239 kB / 0.7719 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004788/0.5964, allocations: 195.1 kB / 0.7721 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007462/0.5971, allocations: 275.2 kB / 0.7724 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000398/0.5975, allocations: 315 kB / 0.7727 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/0.5979, allocations: 160.7 kB / 0.7728 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.5981, allocations: 123.6 kB / 0.7729 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.5984, allocations: 151.5 kB / 0.7731 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.5985, allocations: 20 kB / 0.7731 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006078/0.5991, allocations: 383.2 kB / 0.7735 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.5992, allocations: 103.7 kB / 0.7736 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.5993, allocations: 115.5 kB / 0.7737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006147/0.6, allocations: 469.3 kB / 0.7741 GB, free: 12.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6, allocations: 0 / 0.7741 GB, free: 12.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6, allocations: 0 / 0.7741 GB, free: 12.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.6, allocations: 0 / 0.7741 GB, free: 12.64 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.001015/0.601, allocations: 0.5575 MB / 0.7747 GB, free: 12.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.6011, allocations: 8.031 kB / 0.7747 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007657/0.6018, allocations: 104.5 kB / 0.7748 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.6022, allocations: 264.9 kB / 0.775 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.6022, allocations: 20.8 kB / 0.775 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.6023, allocations: 24.11 kB / 0.7751 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006874/0.603, allocations: 385.9 kB / 0.7754 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.603, allocations: 3.938 kB / 0.7754 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.6031, allocations: 8 kB / 0.7754 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/0.6031, allocations: 23.98 kB / 0.7755 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006592/0.6038, allocations: 363.6 kB / 0.7758 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.606, allocations: 1.718 MB / 0.7775 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/0.6067, allocations: 348.9 kB / 0.7778 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.607, allocations: 185.6 kB / 0.778 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.6072, allocations: 93.08 kB / 0.7781 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.6072, allocations: 30.56 kB / 0.7781 GB, free: 8.227 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 2.354e-06/0.6072, allocations: 0 / 0.7781 GB, free: 8.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.007478/0.6147, allocations: 1.907 MB / 0.78 GB, free: 6.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.6148, allocations: 89.11 kB / 0.7801 GB, free: 6.207 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.615, allocations: 180 kB / 0.7802 GB, free: 6.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.6151, allocations: 29.7 kB / 0.7803 GB, free: 5.984 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.6152, allocations: 156.3 kB / 0.7804 GB, free: 5.828 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.6153, allocations: 118.3 kB / 0.7805 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.6155, allocations: 77.59 kB / 0.7806 GB, free: 5.629 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.6157, allocations: 334.8 kB / 0.7809 GB, free: 5.293 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/0.6162, allocations: 256.7 kB / 0.7812 GB, free: 5.039 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.6168, allocations: 325.5 kB / 0.7815 GB, free: 4.688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.6178, allocations: 0.5995 MB / 0.7821 GB, free: 4.059 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.6179, allocations: 3.938 kB / 0.7821 GB, free: 4.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001317/0.6192, allocations: 0.6431 MB / 0.7827 GB, free: 3.406 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.6192, allocations: 4 kB / 0.7827 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.6192, allocations: 4 kB / 0.7827 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.6193, allocations: 4 kB / 0.7827 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009293/0.6202, allocations: 143.8 kB / 0.7828 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.6202, allocations: 12.27 kB / 0.7828 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.6207, allocations: 51.88 kB / 0.7829 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.6207, allocations: 15.98 kB / 0.7829 GB, free: 3.176 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006144/0.6213, allocations: 362.4 kB / 0.7833 GB, free: 2.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005496/0.6219, allocations: 334.5 kB / 0.7836 GB, free: 2.461 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001053/0.623, allocations: 0.5666 MB / 0.7841 GB, free: 1.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-06/0.623, allocations: 4 kB / 0.7841 GB, free: 1.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001328/0.6243, allocations: 0.6104 MB / 0.7847 GB, free: 1.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6244, allocations: 8 kB / 0.7847 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6244, allocations: 4.281 kB / 0.7847 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.6244, allocations: 8 kB / 0.7848 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008355/0.6252, allocations: 143.7 kB / 0.7849 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.6252, allocations: 4 kB / 0.7849 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.6257, allocations: 47.94 kB / 0.7849 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.6257, allocations: 19.98 kB / 0.785 GB, free: 1.012 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.0002105/0.6259, allocations: 208 kB / 0.7852 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.6261, allocations: 19.81 kB / 0.7852 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.6275, allocations: 0.6688 MB / 0.7858 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.6275, allocations: 4 kB / 0.7858 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.6275, allocations: 4 kB / 0.7858 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6276, allocations: 0 / 0.7858 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.6301, allocations: 1.368 MB / 0.7872 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6301, allocations: 0 / 0.7872 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000613/0.6307, allocations: 115.8 kB / 0.7873 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.6308, allocations: 8.234 kB / 0.7873 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.6308, allocations: 12 kB / 0.7873 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.388e-05/0.6308, allocations: 11.88 kB / 0.7873 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6308, allocations: 3.984 kB / 0.7873 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.632, allocations: 0.7168 MB / 0.788 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.6322, allocations: 140.7 kB / 0.7882 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.6323, allocations: 12 kB / 0.7882 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.6326, allocations: 39.89 kB / 0.7882 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.6328, allocations: 35.89 kB / 0.7882 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.6328, allocations: 12 kB / 0.7882 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001654/0.633, allocations: 143.2 kB / 0.7884 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.633, allocations: 0 / 0.7884 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007519/0.6337, allocations: 140 kB / 0.7885 GB, free: 13.2 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.0002934/0.634, allocations: 135.2 kB / 0.7886 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.6358, allocations: 0.8488 MB / 0.7895 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6358, allocations: 4 kB / 0.7895 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004873/0.6363, allocations: 252.2 kB / 0.7897 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.6369, allocations: 64.42 kB / 0.7898 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.6385, allocations: 0.7337 MB / 0.7905 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.639, allocations: 0.7877 MB / 0.7913 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.6392, allocations: 35.42 kB / 0.7913 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/0.6392, allocations: 0 / 0.7913 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.01015/0.6494, allocations: 4.787 MB / 0.796 GB, free: 5.484 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)