Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.854/2.854, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001557/0.001557, allocations: 188.9 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.185/2.185, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001061, allocations: 104.1 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.467e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.852/0.8521, allocations: 115.3 MB / 0.9634 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4217/1.274, allocations: 179.1 MB / 1.138 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004688/1.274, allocations: 91.94 kB / 1.138 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2093/1.484, allocations: 44.76 MB / 1.182 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.144e-06/1.484, allocations: 0 / 1.182 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.337e-05/1.484, allocations: 23.98 kB / 1.182 GB, free: 12.25 MB / 0.7917 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.003371/1.487, allocations: 0.9772 MB / 1.183 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/1.487, allocations: 12.03 kB / 1.183 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01814/1.505, allocations: 1.621 MB / 1.185 GB, free: 9.59 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/1.508, allocations: 0.6285 MB / 1.185 GB, free: 8.918 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/1.508, allocations: 20 kB / 1.185 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/1.508, allocations: 33.78 kB / 1.185 GB, free: 8.867 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004071/1.512, allocations: 1.295 MB / 1.187 GB, free: 7.566 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003875/1.516, allocations: 1.343 MB / 1.188 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-05/1.516, allocations: 11.92 kB / 1.188 GB, free: 6.141 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/1.517, allocations: 7.953 kB / 1.188 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006806/1.517, allocations: 141.7 kB / 1.188 GB, free: 5.992 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/1.535, allocations: 6.57 MB / 1.194 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/1.538, allocations: 0.8952 MB / 1.195 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/1.54, allocations: 0.5538 MB / 1.196 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003784/1.544, allocations: 1.475 MB / 1.197 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/1.544, allocations: 42.56 kB / 1.197 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=73): time 4.288e-06/1.544, allocations: 3.938 kB / 1.197 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=107): time 0.01947/1.563, allocations: 4.189 MB / 1.201 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/1.563, allocations: 86.11 kB / 1.202 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.564, allocations: 478 kB / 1.202 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003097/1.565, allocations: 25.7 kB / 1.202 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/1.565, allocations: 411.1 kB / 1.202 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005881/1.566, allocations: 354.7 kB / 1.203 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/1.566, allocations: 0 / 1.203 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002669/1.566, allocations: 394.5 kB / 1.203 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/1.568, allocations: 0.7288 MB / 1.204 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/1.571, allocations: 1.055 MB / 1.205 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003697/1.574, allocations: 0.9841 MB / 1.206 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/1.574, allocations: 4 kB / 1.206 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.01264/1.587, allocations: 2.953 MB / 1.209 GB, free: 152 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002069/1.589, allocations: 3.919 MB / 1.213 GB, free: 11.92 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.585e-05/1.589, allocations: 8 kB / 1.213 GB, free: 11.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006971/1.596, allocations: 1.014 MB / 1.214 GB, free: 10.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004089/1.6, allocations: 455.2 kB / 1.214 GB, free: 10.44 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/1.62, allocations: 8.69 MB / 1.222 GB, free: 1.383 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/1.624, allocations: 287.5 kB / 1.223 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/1.624, allocations: 63.97 kB / 1.223 GB, free: 1.039 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.624, allocations: 4.781 kB / 1.223 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008573/1.633, allocations: 2.278 MB / 1.225 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-05/1.633, allocations: 12 kB / 1.225 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00289/1.636, allocations: 0.5541 MB / 1.226 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004315/1.64, allocations: 479.1 kB / 1.226 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/1.655, allocations: 8.352 MB / 1.234 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003862/1.659, allocations: 271.5 kB / 1.234 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004524/1.66, allocations: 63.97 kB / 1.235 GB, free: 4.57 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.0005856/1.66, allocations: 136.7 kB / 1.235 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01171/1.672, allocations: 2.657 MB / 1.237 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006445/1.673, allocations: 82.97 kB / 1.237 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/1.686, allocations: 2.948 MB / 1.24 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.759e-05/1.686, allocations: 12 kB / 1.24 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/1.686, allocations: 4 kB / 1.24 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.458e-05/1.686, allocations: 3.984 kB / 1.24 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/1.704, allocations: 4.58 MB / 1.245 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/1.704, allocations: 11.94 kB / 1.245 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003312/1.707, allocations: 360.1 kB / 1.245 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006968/1.714, allocations: 1.089 MB / 1.246 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003353/1.714, allocations: 19.97 kB / 1.246 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.682/2.396, allocations: 10.11 MB / 1.256 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-05/2.396, allocations: 10.77 kB / 1.256 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/2.408, allocations: 3.153 MB / 1.259 GB, free: 224.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/2.409, allocations: 336.2 kB / 1.259 GB, free: 224.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/2.41, allocations: 10.23 kB / 1.259 GB, free: 224.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004053/2.414, allocations: 325.2 kB / 1.26 GB, free: 224.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005441/2.414, allocations: 104.1 kB / 1.26 GB, free: 224.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/2.415, allocations: 44.62 kB / 1.26 GB, free: 224.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007103/2.415, allocations: 356.2 kB / 1.26 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.21e-07/2.415, allocations: 0.5625 kB / 1.26 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003405/2.419, allocations: 0.5284 MB / 1.261 GB, free: 224.1 MB / 0.8542 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 () * 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.01092/2.43, allocations: 5.314 MB / 1.266 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01223/2.442, allocations: 3.992 MB / 1.27 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/2.442, allocations: 1.562 kB / 1.27 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005259/2.447, allocations: 1.624 MB / 1.271 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/2.449, allocations: 117 kB / 1.272 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/2.471, allocations: 2.923 MB / 1.274 GB, free: 219.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000991/2.472, allocations: 1.116 MB / 1.275 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004075/2.476, allocations: 0.5575 MB / 1.276 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009424/2.477, allocations: 292.2 kB / 1.276 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.272e-06/2.477, allocations: 1.594 kB / 1.276 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/2.592, allocations: 30.78 MB / 1.306 GB, free: 217.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/2.592, allocations: 168.5 kB / 1.307 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.88/6.472, allocations: 1.688 kB / 1.307 GB, free: 217.4 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)