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.46/2.46, allocations: 390.5 MB / 398 MB, free: 11.01 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.001171/0.001171, allocations: 180.9 kB / 491.2 MB, free: 1.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0008968/0.0008968, allocations: 99.81 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.311e-05, allocations: 6.5 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2855, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9839/1.269, allocations: 188.4 MB / 1.396 GB, free: 11.85 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/1.27, allocations: 90.44 kB / 1.396 GB, free: 11.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1135/1.383, allocations: 48.27 MB / 1.444 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.393e-06/1.383, allocations: 0 / 1.444 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.111e-05/1.383, allocations: 19.98 kB / 1.444 GB, free: 3.062 MB / 0.8542 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.001759/1.385, allocations: 0.9175 MB / 1.445 GB, free: 2.145 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.385, allocations: 12.03 kB / 1.445 GB, free: 2.133 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008992/1.394, allocations: 1.551 MB / 1.446 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/1.395, allocations: 0.5447 MB / 1.447 GB, free: 80 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/1.395, allocations: 20 kB / 1.447 GB, free: 60 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/1.395, allocations: 39.31 kB / 1.447 GB, free: 24 kB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001953/1.397, allocations: 1.23 MB / 1.448 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/1.399, allocations: 1.26 MB / 1.449 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/1.399, allocations: 3.938 kB / 1.449 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/1.399, allocations: 4 kB / 1.449 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002146/1.4, allocations: 104.3 kB / 1.449 GB, free: 14.02 MB / 0.8698 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.008386/1.408, allocations: 6.267 MB / 1.455 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/1.41, allocations: 0.9882 MB / 1.456 GB, free: 7.438 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007545/1.41, allocations: 0.5394 MB / 1.457 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002667/1.413, allocations: 2.212 MB / 1.459 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/1.413, allocations: 45.69 kB / 1.459 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 2.044e-06/1.413, allocations: 4 kB / 1.459 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.008301/1.421, allocations: 3.61 MB / 1.463 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.421, allocations: 203.5 kB / 1.463 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/1.422, allocations: 430.1 kB / 1.463 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.712e-05/1.422, allocations: 25.7 kB / 1.463 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/1.422, allocations: 391.6 kB / 1.464 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00028/1.423, allocations: 307 kB / 1.464 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/1.423, allocations: 0 / 1.464 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.423, allocations: 374.8 kB / 1.464 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008331/1.424, allocations: 0.6188 MB / 1.465 GB, free: 112 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/1.425, allocations: 0.8921 MB / 1.466 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/1.426, allocations: 0.8569 MB / 1.466 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.426, allocations: 4 kB / 1.466 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005222/1.432, allocations: 2.417 MB / 1.469 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001218/1.433, allocations: 3.137 MB / 1.472 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/1.433, allocations: 11.94 kB / 1.472 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/1.436, allocations: 0.7327 MB / 1.473 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/1.438, allocations: 457.5 kB / 1.473 GB, free: 8.449 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008003/1.446, allocations: 7.163 MB / 1.48 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/1.448, allocations: 287.4 kB / 1.48 GB, free: 1.746 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/1.448, allocations: 57.66 kB / 1.48 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/1.448, allocations: 4 kB / 1.48 GB, free: 1.695 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003306/1.452, allocations: 1.74 MB / 1.482 GB, free: 416 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.452, allocations: 12.12 kB / 1.482 GB, free: 404 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/1.452, allocations: 204.9 kB / 1.482 GB, free: 236 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/1.454, allocations: 0.4939 MB / 1.483 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/1.458, allocations: 3.805 MB / 1.486 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/1.46, allocations: 267.5 kB / 1.487 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/1.46, allocations: 65.83 kB / 1.487 GB, free: 11.96 MB / 0.9011 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.0003666/1.461, allocations: 125.1 kB / 1.487 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004896/1.466, allocations: 2.128 MB / 1.489 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/1.466, allocations: 73.84 kB / 1.489 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005697/1.472, allocations: 2.305 MB / 1.491 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.472, allocations: 12 kB / 1.491 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.472, allocations: 4 kB / 1.491 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/1.472, allocations: 3.984 kB / 1.491 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007562/1.479, allocations: 4.142 MB / 1.495 GB, free: 3.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/1.479, allocations: 4 kB / 1.495 GB, free: 3.977 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/1.481, allocations: 363.7 kB / 1.496 GB, free: 3.621 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002925/1.484, allocations: 0.8581 MB / 1.497 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.169e-05/1.484, allocations: 23.97 kB / 1.497 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009232/1.493, allocations: 8.216 MB / 1.505 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/1.493, allocations: 11.98 kB / 1.505 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005813/1.499, allocations: 2.72 MB / 1.507 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006753/1.5, allocations: 308 kB / 1.508 GB, free: 6.762 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/1.5, allocations: 11.98 kB / 1.508 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/1.502, allocations: 295.5 kB / 1.508 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/1.502, allocations: 87.78 kB / 1.508 GB, free: 6.375 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.503, allocations: 43.97 kB / 1.508 GB, free: 6.332 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004765/1.503, allocations: 326.9 kB / 1.508 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.41e-07/1.503, allocations: 0 / 1.508 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002354/1.505, allocations: 459.9 kB / 1.509 GB, free: 5.566 MB / 0.9167 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.006454/1.512, allocations: 4.816 MB / 1.513 GB, free: 0.5625 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005771/1.518, allocations: 3.159 MB / 1.517 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.518, allocations: 0.75 kB / 1.517 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002183/1.52, allocations: 1.319 MB / 1.518 GB, free: 12 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008836/1.521, allocations: 87.47 kB / 1.518 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009212/1.53, allocations: 2.66 MB / 1.521 GB, free: 9.145 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000854/1.531, allocations: 1.04 MB / 1.522 GB, free: 8.078 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002322/1.533, allocations: 0.515 MB / 1.522 GB, free: 7.559 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006341/1.534, allocations: 263.3 kB / 1.522 GB, free: 7.301 MB / 0.9323 GB Notification: Performance of SimCode: time 3.046e-06/1.534, allocations: 0 / 1.522 GB, free: 7.301 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05555/1.59, allocations: 23.97 MB / 1.546 GB, free: 15.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/1.59, allocations: 165.8 kB / 1.546 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/4.392, allocations: 7.375 kB / 1.546 GB, free: 15.2 MB / 0.9636 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