Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.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.001147/0.001147, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001148/0.001148, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.5 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005633/0.0005634, allocations: 16.06 kB / 0.6736 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2693, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003228/0.2725, allocations: 2.323 MB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002624/0.2752, allocations: 1.857 MB / 0.7912 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.2754, allocations: 7.938 kB / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.2755, allocations: 31.83 kB / 0.7912 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.2761, allocations: 115.6 kB / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006601/0.2767, allocations: 203.4 kB / 0.7915 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.2771, allocations: 183.6 kB / 0.7917 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006264/0.2777, allocations: 346.5 kB / 0.792 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.2779, allocations: 83.75 kB / 0.7921 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.2782, allocations: 115.6 kB / 0.7922 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.2783, allocations: 15.94 kB / 0.7923 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.2787, allocations: 239.6 kB / 0.7925 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.921e-05/0.2789, allocations: 75.84 kB / 0.7926 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.2789, allocations: 61.58 kB / 0.7926 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005222/0.2795, allocations: 339.5 kB / 0.7929 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2795, allocations: 0 / 0.7929 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2795, allocations: 0 / 0.7929 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.2795, allocations: 0 / 0.7929 GB, free: 5.93 MB / 0.6075 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.0009545/0.2805, allocations: 0.5184 MB / 0.7934 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2805, allocations: 8.031 kB / 0.7934 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008717/0.2814, allocations: 131.5 kB / 0.7936 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.2817, allocations: 253.6 kB / 0.7938 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.2818, allocations: 12.44 kB / 0.7938 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.2818, allocations: 20 kB / 0.7938 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.2824, allocations: 385.9 kB / 0.7942 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.2825, allocations: 3.984 kB / 0.7942 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.2825, allocations: 12 kB / 0.7942 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.2825, allocations: 27.77 kB / 0.7943 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006285/0.2832, allocations: 371.6 kB / 0.7946 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.2851, allocations: 1.738 MB / 0.7963 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.2857, allocations: 341 kB / 0.7966 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.2859, allocations: 93.05 kB / 0.7967 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2859, allocations: 38.56 kB / 0.7968 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.2859, allocations: 0 / 0.7968 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.007012/0.2929, allocations: 2.071 MB / 0.7988 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.293, allocations: 89.05 kB / 0.7989 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.2932, allocations: 181 kB / 0.799 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.2933, allocations: 29.7 kB / 0.7991 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.752e-05/0.2934, allocations: 148.4 kB / 0.7992 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.2935, allocations: 122.2 kB / 0.7993 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.2935, allocations: 4 kB / 0.7993 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.2937, allocations: 330.8 kB / 0.7996 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005986/0.2943, allocations: 263.8 kB / 0.7999 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.2948, allocations: 337.5 kB / 0.8002 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.2953, allocations: 301.2 kB / 0.8005 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2953, allocations: 0 / 0.8005 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00113/0.2965, allocations: 0.6543 MB / 0.8011 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000377/0.2969, allocations: 0.8775 MB / 0.802 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2969, allocations: 0 / 0.802 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.2969, allocations: 7.984 kB / 0.802 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008607/0.2978, allocations: 151.8 kB / 0.8022 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.2978, allocations: 11.94 kB / 0.8022 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.2982, allocations: 51.92 kB / 0.8022 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.2983, allocations: 19.98 kB / 0.8022 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2983, allocations: 4 kB / 0.8022 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001104/0.2994, allocations: 0.5897 MB / 0.8028 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2994, allocations: 4.031 kB / 0.8028 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.2994, allocations: 4 kB / 0.8028 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/0.3002, allocations: 147.8 kB / 0.803 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3002, allocations: 7.953 kB / 0.803 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.3006, allocations: 59.92 kB / 0.803 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3007, allocations: 15.94 kB / 0.803 GB, free: 11.11 MB / 0.6231 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.0002523/0.3009, allocations: 247.7 kB / 0.8033 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.857e-05/0.301, allocations: 23.72 kB / 0.8033 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.3024, allocations: 0.6764 MB / 0.804 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3024, allocations: 11.98 kB / 0.804 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.3024, allocations: 7.953 kB / 0.804 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.3024, allocations: 3.984 kB / 0.804 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.3045, allocations: 1.383 MB / 0.8053 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3045, allocations: 4 kB / 0.8053 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/0.3052, allocations: 127.8 kB / 0.8055 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.3052, allocations: 4.25 kB / 0.8055 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.3053, allocations: 12 kB / 0.8055 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.3053, allocations: 4 kB / 0.8055 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3053, allocations: 7.938 kB / 0.8055 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.3064, allocations: 0.83 MB / 0.8063 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.3066, allocations: 144.7 kB / 0.8064 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.3067, allocations: 11.98 kB / 0.8064 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.307, allocations: 43.95 kB / 0.8065 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/0.3071, allocations: 31.86 kB / 0.8065 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.3071, allocations: 19.98 kB / 0.8065 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001311/0.3073, allocations: 140.3 kB / 0.8067 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3073, allocations: 4 kB / 0.8067 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006231/0.3079, allocations: 136 kB / 0.8068 GB, free: 7.031 MB / 0.6231 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.0002281/0.3082, allocations: 139.2 kB / 0.8069 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.3098, allocations: 0.868 MB / 0.8078 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3098, allocations: 3.938 kB / 0.8078 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.3102, allocations: 273.3 kB / 0.8081 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.3106, allocations: 32.17 kB / 0.8081 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.312, allocations: 0.8234 MB / 0.8089 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.3125, allocations: 0.7926 MB / 0.8097 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005038/0.313, allocations: 174.8 kB / 0.8098 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.3131, allocations: 31.42 kB / 0.8099 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.3131, allocations: 0 / 0.8099 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of Templates: time 0.008874/0.322, allocations: 4.357 MB / 0.8141 GB, free: 15.48 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) Environment - environmentSimulation: