Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.312/2.312, allocations: 390.3 MB / 402.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.3 MB / 0.7915 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 91.95 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.344e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2726, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.285, allocations: 189 MB / 1.403 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/1.285, allocations: 91.56 kB / 1.404 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1313/1.417, allocations: 48.46 MB / 1.451 GB, free: 4.723 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.793e-06/1.417, allocations: 0 / 1.451 GB, free: 4.723 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.812e-05/1.417, allocations: 23.98 kB / 1.451 GB, free: 4.699 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.003184/1.42, allocations: 0.9121 MB / 1.452 GB, free: 3.742 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/1.42, allocations: 8.031 kB / 1.452 GB, free: 3.734 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005205/1.421, allocations: 114.5 kB / 1.452 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/1.431, allocations: 1.555 MB / 1.453 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/1.432, allocations: 0.5443 MB / 1.454 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/1.432, allocations: 49.3 kB / 1.454 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/1.433, allocations: 59.98 kB / 1.454 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/1.435, allocations: 1.352 MB / 1.455 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/1.436, allocations: 0 / 1.455 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/1.436, allocations: 27.98 kB / 1.455 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002414/1.436, allocations: 101.2 kB / 1.455 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002863/1.439, allocations: 1.496 MB / 1.457 GB, free: 14.3 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/1.449, allocations: 6.375 MB / 1.463 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/1.451, allocations: 1.014 MB / 1.464 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009071/1.452, allocations: 0.5717 MB / 1.465 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003099/1.455, allocations: 2.231 MB / 1.467 GB, free: 3.551 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/1.455, allocations: 50.5 kB / 1.467 GB, free: 3.492 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=69): time 3.286e-06/1.455, allocations: 0 / 1.467 GB, free: 3.492 MB / 0.9167 GB Notification: Performance of matching and sorting (n=93): time 0.0136/1.469, allocations: 4.559 MB / 1.471 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.469, allocations: 203.6 kB / 1.472 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007193/1.47, allocations: 471.5 kB / 1.472 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/1.47, allocations: 41.7 kB / 1.472 GB, free: 14.15 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/1.47, allocations: 386.8 kB / 1.472 GB, free: 13.76 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/1.471, allocations: 327.4 kB / 1.473 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/1.471, allocations: 24 kB / 1.473 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002026/1.471, allocations: 374.8 kB / 1.473 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/1.472, allocations: 0.6429 MB / 1.474 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/1.473, allocations: 0.9193 MB / 1.475 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/1.475, allocations: 0.7411 MB / 1.475 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/1.475, allocations: 4 kB / 1.475 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005564/1.48, allocations: 2.471 MB / 1.478 GB, free: 8.125 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001435/1.482, allocations: 3.136 MB / 1.481 GB, free: 4.742 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/1.482, allocations: 12 kB / 1.481 GB, free: 4.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003278/1.485, allocations: 0.8967 MB / 1.482 GB, free: 3.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/1.487, allocations: 463.2 kB / 1.482 GB, free: 3.367 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008697/1.496, allocations: 7.394 MB / 1.489 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.498, allocations: 307.5 kB / 1.49 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/1.499, allocations: 59.97 kB / 1.49 GB, free: 11.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.499, allocations: 4 kB / 1.49 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004926/1.504, allocations: 2.185 MB / 1.492 GB, free: 8.984 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/1.504, allocations: 8 kB / 1.492 GB, free: 8.977 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/1.506, allocations: 0.6276 MB / 1.493 GB, free: 8.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/1.508, allocations: 487.2 kB / 1.493 GB, free: 7.863 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008696/1.517, allocations: 6.667 MB / 1.5 GB, free: 0.793 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/1.519, allocations: 295.5 kB / 1.5 GB, free: 0.5039 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/1.519, allocations: 63.95 kB / 1.5 GB, free: 452 kB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004718/1.52, allocations: 168.7 kB / 1.5 GB, free: 276 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/1.52, allocations: 75.14 kB / 1.5 GB, free: 200 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005554/1.526, allocations: 2.274 MB / 1.502 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/1.526, allocations: 12 kB / 1.502 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/1.526, allocations: 4 kB / 1.502 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.526, allocations: 3.984 kB / 1.502 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008214/1.534, allocations: 4.226 MB / 1.506 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.534, allocations: 4 kB / 1.506 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.536, allocations: 363.9 kB / 1.507 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/1.539, allocations: 0.8538 MB / 1.508 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/1.539, allocations: 35.97 kB / 1.508 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/1.549, allocations: 8.599 MB / 1.516 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/1.549, allocations: 8 kB / 1.516 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005409/1.555, allocations: 2.685 MB / 1.519 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007284/1.555, allocations: 312.1 kB / 1.519 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/1.556, allocations: 28 kB / 1.519 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/1.557, allocations: 283.5 kB / 1.519 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/1.558, allocations: 91.78 kB / 1.519 GB, free: 11.47 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/1.558, allocations: 35.97 kB / 1.519 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005524/1.558, allocations: 357.6 kB / 1.52 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/1.558, allocations: 0 / 1.52 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002293/1.561, allocations: 0.5234 MB / 1.52 GB, free: 10.57 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00633/1.567, allocations: 4.797 MB / 1.525 GB, free: 5.578 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006989/1.574, allocations: 3.627 MB / 1.529 GB, free: 1.875 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.574, allocations: 0 / 1.529 GB, free: 1.875 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002372/1.577, allocations: 1.374 MB / 1.53 GB, free: 460 kB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/1.578, allocations: 99.36 kB / 1.53 GB, free: 364 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009562/1.587, allocations: 2.761 MB / 1.533 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007998/1.588, allocations: 1.048 MB / 1.534 GB, free: 12.4 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002122/1.59, allocations: 0.5061 MB / 1.534 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005967/1.591, allocations: 259.3 kB / 1.534 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of SimCode: time 1.513e-06/1.591, allocations: 0 / 1.534 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05218/1.643, allocations: 25.79 MB / 1.56 GB, free: 2.129 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/1.643, allocations: 204.4 kB / 1.56 GB, free: 1.906 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.894/4.538, allocations: 0 / 1.56 GB, free: 1.906 MB / 1.01 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat