Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.845/1.845, allocations: 288.2 MB / 303.2 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001091, allocations: 187.7 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009542/0.0009541, allocations: 100.2 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003771, allocations: 11.16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1823, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.003948/0.1863, allocations: 4.546 MB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003969/0.1903, allocations: 3.791 MB / 0.9876 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003403/0.1906, allocations: 15.88 kB / 0.9876 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.1909, allocations: 87.36 kB / 0.9877 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009906/0.1919, allocations: 454.5 kB / 0.9882 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009105/0.1928, allocations: 415 kB / 0.9886 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004987/0.1933, allocations: 0.6489 MB / 0.9892 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008298/0.1941, allocations: 0.672 MB / 0.9898 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003026/0.1944, allocations: 334.8 kB / 0.9902 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.1948, allocations: 386.6 kB / 0.9905 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.1949, allocations: 36 kB / 0.9906 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006462/0.1956, allocations: 459.2 kB / 0.991 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.1958, allocations: 279.2 kB / 0.9913 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1959, allocations: 161.3 kB / 0.9914 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007239/0.1966, allocations: 1.013 MB / 0.9924 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1966, allocations: 0 / 0.9924 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1966, allocations: 4 kB / 0.9924 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.1966, allocations: 0 / 0.9924 GB, free: 14.28 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001397/0.198, allocations: 1.013 MB / 0.9934 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1981, allocations: 12.03 kB / 0.9934 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.1982, allocations: 118.5 kB / 0.9935 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008895/0.2071, allocations: 1.746 MB / 0.9952 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.2083, allocations: 0.6069 MB / 0.9958 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.2083, allocations: 45.23 kB / 0.9959 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.2085, allocations: 55.98 kB / 0.9959 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004135/0.2126, allocations: 1.905 MB / 0.9978 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.2127, allocations: 4 kB / 0.9978 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.2128, allocations: 27.98 kB / 0.9978 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003099/0.2131, allocations: 157.3 kB / 0.998 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006869/0.22, allocations: 2.616 MB / 1.001 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008284/0.2283, allocations: 6.65 MB / 1.007 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/0.2316, allocations: 1.273 MB / 1.008 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002025/0.2336, allocations: 1.484 MB / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.2337, allocations: 46.5 kB / 1.01 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 2.134e-06/0.2337, allocations: 0 / 1.01 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107): time 0.02681/0.2605, allocations: 8.231 MB / 1.018 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.2606, allocations: 94.05 kB / 1.018 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.2612, allocations: 0.5768 MB / 1.018 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.2614, allocations: 41.7 kB / 1.018 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.2616, allocations: 419.1 kB / 1.019 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.2619, allocations: 370.7 kB / 1.019 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.516e-05/0.262, allocations: 24 kB / 1.019 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2622, allocations: 390.8 kB / 1.02 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/0.265, allocations: 1.107 MB / 1.021 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003008/0.268, allocations: 1.448 MB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/0.2709, allocations: 1.222 MB / 1.023 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.2709, allocations: 4 kB / 1.023 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01029/0.2812, allocations: 3.885 MB / 1.027 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001554/0.2828, allocations: 4.01 MB / 1.031 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.2828, allocations: 8 kB / 1.031 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005144/0.288, allocations: 1.38 MB / 1.032 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.29, allocations: 455.2 kB / 1.033 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/0.3057, allocations: 11.57 MB / 1.044 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.3079, allocations: 311.6 kB / 1.044 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.3081, allocations: 71.92 kB / 1.044 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.3081, allocations: 4 kB / 1.044 GB, free: 7.18 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009798/0.3179, allocations: 3.561 MB / 1.048 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/0.318, allocations: 8 kB / 1.048 GB, free: 3.594 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003899/0.3219, allocations: 1.101 MB / 1.049 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/0.3241, allocations: 471.2 kB / 1.05 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/0.3382, allocations: 10.63 MB / 1.06 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.3404, allocations: 307.6 kB / 1.06 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.3405, allocations: 63.97 kB / 1.06 GB, free: 6.484 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006341/0.3412, allocations: 376.7 kB / 1.061 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.3414, allocations: 86.92 kB / 1.061 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/0.3519, allocations: 3.77 MB / 1.064 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.352, allocations: 8 kB / 1.064 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.352, allocations: 11.94 kB / 1.064 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.352, allocations: 7.938 kB / 1.064 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4226/0.7746, allocations: 5.471 MB / 1.07 GB, free: 83.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.7747, allocations: 12.53 kB / 1.07 GB, free: 83.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/0.7763, allocations: 357.9 kB / 1.07 GB, free: 83.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004775/0.7811, allocations: 1.241 MB / 1.071 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.7812, allocations: 36.25 kB / 1.071 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/0.795, allocations: 11.07 MB / 1.082 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.795, allocations: 10.12 kB / 1.082 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.8052, allocations: 3.938 MB / 1.086 GB, free: 75.49 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007061/0.8059, allocations: 345 kB / 1.086 GB, free: 75.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.8061, allocations: 27.48 kB / 1.086 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/0.8079, allocations: 323.4 kB / 1.087 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003619/0.8083, allocations: 100.9 kB / 1.087 GB, free: 75.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.8084, allocations: 44.83 kB / 1.087 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005767/0.809, allocations: 401.4 kB / 1.087 GB, free: 75.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.809, allocations: 1.75 kB / 1.087 GB, free: 75.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002462/0.8115, allocations: 0.5968 MB / 1.088 GB, free: 75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01065/0.8222, allocations: 6.099 MB / 1.094 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01389/0.8361, allocations: 5.723 MB / 1.099 GB, free: 69.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.8361, allocations: 1.312 kB / 1.099 GB, free: 69.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004705/0.8408, allocations: 2.128 MB / 1.101 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007522/0.8416, allocations: 136.2 kB / 1.102 GB, free: 68.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/0.867, allocations: 17.36 MB / 1.118 GB, free: 55.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.8678, allocations: 1.131 MB / 1.12 GB, free: 54.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002026/0.8698, allocations: 0.537 MB / 1.12 GB, free: 54.51 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004984/0.8703, allocations: 297 kB / 1.12 GB, free: 54.27 MB / 0.6823 GB Notification: Performance of SimCode: time 7.91e-07/0.8703, allocations: 0 / 1.12 GB, free: 54.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04495/0.9153, allocations: 33.39 MB / 1.153 GB, free: 26.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.9155, allocations: 248.6 kB / 1.153 GB, free: 26.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.851/3.767, allocations: 2.109 kB / 1.153 GB, free: 26.38 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)