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.731/2.731, allocations: 287.3 MB / 302.3 MB, free: 8.395 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.001628/0.001627, allocations: 179.3 kB / 370.8 MB, free: 10.85 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.124/2.124, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001109/0.001109, allocations: 93.48 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007242/0.0007242, allocations: 11.66 kB / 0.8657 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2445, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9937/1.238, allocations: 179.8 MB / 1.154 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/1.239, allocations: 94.62 kB / 1.154 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2033/1.442, allocations: 45.23 MB / 1.198 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.585e-06/1.442, allocations: 4 kB / 1.198 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.021e-05/1.442, allocations: 16 kB / 1.198 GB, free: 13.68 MB / 0.7292 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.003492/1.446, allocations: 1.058 MB / 1.199 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.446, allocations: 16.03 kB / 1.199 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004059/1.446, allocations: 116.9 kB / 1.199 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01834/1.464, allocations: 1.629 MB / 1.201 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/1.467, allocations: 0.619 MB / 1.202 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/1.467, allocations: 46.66 kB / 1.202 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/1.467, allocations: 64.45 kB / 1.202 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009173/1.476, allocations: 1.912 MB / 1.204 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.828e-05/1.476, allocations: 8 kB / 1.204 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/1.477, allocations: 31.06 kB / 1.204 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006292/1.477, allocations: 142.6 kB / 1.204 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01522/1.492, allocations: 2.617 MB / 1.206 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/1.51, allocations: 6.669 MB / 1.213 GB, free: 336 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00634/1.516, allocations: 1.267 MB / 1.214 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003805/1.52, allocations: 1.489 MB / 1.215 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/1.52, allocations: 45.56 kB / 1.215 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 3.817e-06/1.52, allocations: 0 / 1.215 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=107): time 0.05163/1.572, allocations: 8.042 MB / 1.223 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/1.572, allocations: 96.8 kB / 1.223 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/1.573, allocations: 0.5048 MB / 1.224 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002991/1.573, allocations: 46.08 kB / 1.224 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/1.574, allocations: 399.6 kB / 1.224 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005436/1.574, allocations: 374.8 kB / 1.225 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/1.575, allocations: 25.88 kB / 1.225 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002174/1.575, allocations: 388 kB / 1.225 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005733/1.581, allocations: 1.102 MB / 1.226 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006113/1.587, allocations: 1.445 MB / 1.228 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006136/1.593, allocations: 1.218 MB / 1.229 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.98e-05/1.593, allocations: 7.938 kB / 1.229 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.02019/1.613, allocations: 3.773 MB / 1.232 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001704/1.615, allocations: 3.919 MB / 1.236 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.386e-05/1.615, allocations: 8 kB / 1.236 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008739/1.624, allocations: 1.256 MB / 1.238 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/1.628, allocations: 459.2 kB / 1.238 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/1.648, allocations: 9.276 MB / 1.247 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004141/1.652, allocations: 307.5 kB / 1.247 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/1.652, allocations: 63.97 kB / 1.247 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.653, allocations: 4 kB / 1.247 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01828/1.671, allocations: 3.487 MB / 1.251 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.186e-05/1.671, allocations: 8 kB / 1.251 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006759/1.678, allocations: 1.026 MB / 1.252 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004283/1.682, allocations: 471.2 kB / 1.252 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02905/1.711, allocations: 10.39 MB / 1.262 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005495/1.717, allocations: 307.5 kB / 1.263 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005628/1.717, allocations: 67.97 kB / 1.263 GB, free: 14.31 MB / 0.7917 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 () * Number of clocked 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.001421/1.719, allocations: 376.7 kB / 1.263 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005714/1.719, allocations: 86.97 kB / 1.263 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02696/1.746, allocations: 3.685 MB / 1.267 GB, free: 10.13 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/1.746, allocations: 16 kB / 1.267 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.932e-05/1.746, allocations: 4 kB / 1.267 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.015e-05/1.746, allocations: 8.078 kB / 1.267 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02526/1.772, allocations: 5.391 MB / 1.272 GB, free: 4.578 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-05/1.772, allocations: 8.688 kB / 1.272 GB, free: 4.57 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003446/1.775, allocations: 359.4 kB / 1.272 GB, free: 4.219 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008218/1.783, allocations: 1.181 MB / 1.274 GB, free: 3.023 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003413/1.784, allocations: 35.97 kB / 1.274 GB, free: 2.988 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02705/1.811, allocations: 10.85 MB / 1.284 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.357e-05/1.811, allocations: 8 kB / 1.284 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02395/1.835, allocations: 3.849 MB / 1.288 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/1.837, allocations: 343.8 kB / 1.288 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006695/1.837, allocations: 28 kB / 1.288 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005077/1.842, allocations: 315.5 kB / 1.289 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007545/1.843, allocations: 104.2 kB / 1.289 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004206/1.844, allocations: 43.94 kB / 1.289 GB, free: 2.664 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00131/1.845, allocations: 406.7 kB / 1.289 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.122e-06/1.845, allocations: 0 / 1.289 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005599/1.851, allocations: 0.6054 MB / 1.29 GB, free: 1.664 MB / 0.8073 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.02599/1.877, allocations: 6.049 MB / 1.296 GB, free: 11.41 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02694/1.904, allocations: 5.429 MB / 1.301 GB, free: 5.902 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.904, allocations: 0 / 1.301 GB, free: 5.902 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.009155/1.913, allocations: 2.056 MB / 1.303 GB, free: 3.797 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.914, allocations: 136.6 kB / 1.303 GB, free: 3.664 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05264/1.967, allocations: 17.1 MB / 1.32 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/1.969, allocations: 1.111 MB / 1.321 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005587/1.974, allocations: 0.5382 MB / 1.321 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/1.976, allocations: 295.3 kB / 1.322 GB, free: 208 kB / 0.8386 GB Notification: Performance of SimCode: time 1.563e-06/1.976, allocations: 0 / 1.322 GB, free: 208 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1285/2.105, allocations: 32.09 MB / 1.353 GB, free: 472 kB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003553/2.105, allocations: 235.8 kB / 1.353 GB, free: 228 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.774/5.879, allocations: 0 / 1.353 GB, free: 228 kB / 0.8698 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)