Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 178.2 kB / 326.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 0.5777 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008186/0.0008185, allocations: 101.5 kB / 0.6823 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003083, allocations: 12.66 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2163, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.004491/0.2209, allocations: 4.747 MB / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00494/0.2258, allocations: 3.853 MB / 0.9087 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005567/0.2264, allocations: 15.88 kB / 0.9087 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.2268, allocations: 103.2 kB / 0.9088 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.228, allocations: 0.5055 MB / 0.9093 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.2292, allocations: 409.4 kB / 0.9097 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001119/0.2303, allocations: 1.326 MB / 0.911 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009048/0.2313, allocations: 0.6642 MB / 0.9117 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.2317, allocations: 390.5 kB / 0.912 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005594/0.2323, allocations: 0.5177 MB / 0.9125 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.962e-05/0.2323, allocations: 36 kB / 0.9126 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008503/0.2332, allocations: 483.3 kB / 0.913 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.2334, allocations: 307.1 kB / 0.9133 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.2335, allocations: 165.3 kB / 0.9135 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008128/0.2344, allocations: 1.033 MB / 0.9145 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.2344, allocations: 0 / 0.9145 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2344, allocations: 3.938 kB / 0.9145 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.2344, allocations: 0 / 0.9145 GB, free: 49.73 MB / 0.6042 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.001531/0.2359, allocations: 1.017 MB / 0.9155 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.236, allocations: 8.031 kB / 0.9155 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.2361, allocations: 118.5 kB / 0.9156 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009104/0.2452, allocations: 1.707 MB / 0.9173 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.2464, allocations: 0.5992 MB / 0.9179 GB, free: 46.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.2464, allocations: 41.3 kB / 0.9179 GB, free: 46.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.2466, allocations: 55.98 kB / 0.918 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004297/0.2509, allocations: 1.921 MB / 0.9198 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.2509, allocations: 0 / 0.9198 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.251, allocations: 31.98 kB / 0.9199 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003223/0.2514, allocations: 157.3 kB / 0.92 GB, free: 43.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007851/0.2592, allocations: 2.616 MB / 0.9226 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008653/0.2679, allocations: 6.642 MB / 0.929 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.2709, allocations: 1.27 MB / 0.9303 GB, free: 33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/0.2732, allocations: 0.8992 MB / 0.9312 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.2749, allocations: 1.491 MB / 0.9326 GB, free: 30.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2749, allocations: 38.56 kB / 0.9327 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 2.265e-06/0.2749, allocations: 4 kB / 0.9327 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=107): time 0.0256/0.3005, allocations: 8.239 MB / 0.9407 GB, free: 22.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.3006, allocations: 90.11 kB / 0.9408 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006531/0.3013, allocations: 0.5731 MB / 0.9414 GB, free: 21.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.3014, allocations: 45.7 kB / 0.9414 GB, free: 21.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.3016, allocations: 415 kB / 0.9418 GB, free: 21.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.3019, allocations: 374.7 kB / 0.9422 GB, free: 20.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.302, allocations: 27.94 kB / 0.9422 GB, free: 20.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3021, allocations: 390.7 kB / 0.9425 GB, free: 20.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/0.3048, allocations: 1.111 MB / 0.9436 GB, free: 19.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00279/0.3076, allocations: 1.445 MB / 0.945 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.3103, allocations: 1.226 MB / 0.9462 GB, free: 16.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.3104, allocations: 4 kB / 0.9462 GB, free: 16.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.009964/0.3203, allocations: 3.878 MB / 0.95 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000211/0.3206, allocations: 404.2 kB / 0.9504 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.3206, allocations: 8 kB / 0.9504 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005208/0.3258, allocations: 1.388 MB / 0.9518 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/0.3279, allocations: 455.2 kB / 0.9522 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/0.3416, allocations: 11.23 MB / 0.9632 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.3441, allocations: 307.6 kB / 0.9635 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/0.3444, allocations: 59.97 kB / 0.9635 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.3445, allocations: 4 kB / 0.9635 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01064/0.3551, allocations: 3.573 MB / 0.967 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/0.3552, allocations: 8 kB / 0.967 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004184/0.3594, allocations: 1.092 MB / 0.9681 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/0.3616, allocations: 479.2 kB / 0.9686 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.375, allocations: 10.34 MB / 0.9787 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.3774, allocations: 307.6 kB / 0.9789 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000292/0.3777, allocations: 64.08 kB / 0.979 GB, free: 13.48 MB / 0.6355 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.0008403/0.3786, allocations: 388.5 kB / 0.9794 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003971/0.379, allocations: 82.97 kB / 0.9795 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.3902, allocations: 3.774 MB / 0.9831 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.3903, allocations: 12 kB / 0.9832 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/0.3903, allocations: 4 kB / 0.9832 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/0.3904, allocations: 7.984 kB / 0.9832 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.4048, allocations: 5.47 MB / 0.9885 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.4048, allocations: 4 kB / 0.9885 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.4066, allocations: 364.1 kB / 0.9889 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004834/0.4114, allocations: 1.248 MB / 0.9901 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.4116, allocations: 35.98 kB / 0.9901 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/0.4255, allocations: 10.75 MB / 1.001 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/0.4255, allocations: 7.938 kB / 1.001 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/0.4359, allocations: 3.669 MB / 1.004 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007263/0.4367, allocations: 343.8 kB / 1.005 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/0.437, allocations: 27.94 kB / 1.005 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/0.4391, allocations: 315.5 kB / 1.005 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/0.4394, allocations: 104.2 kB / 1.005 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.4395, allocations: 51.92 kB / 1.005 GB, free: 2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005143/0.44, allocations: 398.8 kB / 1.005 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.41e-07/0.44, allocations: 0 / 1.005 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002417/0.4425, allocations: 0.5938 MB / 1.006 GB, free: 1.016 MB / 0.6511 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.01053/0.453, allocations: 4.259 MB / 1.01 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01477/0.4678, allocations: 5.705 MB / 1.016 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/0.4679, allocations: 8.188 kB / 1.016 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005577/0.4734, allocations: 2.122 MB / 1.018 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.4749, allocations: 151 kB / 1.018 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02931/0.5042, allocations: 10.57 MB / 1.028 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009094/0.5052, allocations: 1.11 MB / 1.029 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002246/0.5074, allocations: 0.5383 MB / 1.03 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005723/0.508, allocations: 295.3 kB / 1.03 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/0.508, allocations: 0 / 1.03 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4209/0.9289, allocations: 33.39 MB / 1.063 GB, free: 139.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.9292, allocations: 265.8 kB / 1.063 GB, free: 139.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/3.745, allocations: 2.75 kB / 1.063 GB, free: 139.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)