Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.00156/0.00156, allocations: 179 kB / 498.1 MB, free: 5.746 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.678/1.678, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.000944/0.000944, allocations: 94.95 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003762, allocations: 9.094 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3458, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.5732, allocations: 188.3 MB / 1.407 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005146/0.5738, allocations: 99.94 kB / 1.407 GB, free: 5.648 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.8418/1.416, allocations: 48.72 MB / 1.454 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.655e-06/1.416, allocations: 0 / 1.454 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001213/1.416, allocations: 17.44 kB / 1.454 GB, free: 188.7 MB / 0.9167 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.00374/1.42, allocations: 0.9622 MB / 1.455 GB, free: 188 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/1.42, allocations: 9.25 kB / 1.455 GB, free: 188 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009528/1.429, allocations: 1.558 MB / 1.457 GB, free: 188 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/1.431, allocations: 0.5478 MB / 1.457 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-05/1.431, allocations: 44.38 kB / 1.458 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003631/1.431, allocations: 59.41 kB / 1.458 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00474/1.436, allocations: 1.843 MB / 1.459 GB, free: 186.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/1.436, allocations: 0 / 1.459 GB, free: 186.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/1.436, allocations: 28.75 kB / 1.459 GB, free: 186.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002015/1.436, allocations: 107.5 kB / 1.459 GB, free: 186.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006697/1.443, allocations: 2.485 MB / 1.462 GB, free: 185.3 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008417/1.452, allocations: 6.377 MB / 1.468 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/1.455, allocations: 1.359 MB / 1.469 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002507/1.457, allocations: 2.225 MB / 1.472 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.457, allocations: 46.92 kB / 1.472 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=69): time 2.765e-06/1.457, allocations: 4 kB / 1.472 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=93): time 0.01903/1.476, allocations: 6.417 MB / 1.478 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.668e-05/1.476, allocations: 203.6 kB / 1.478 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/1.477, allocations: 468.9 kB / 1.479 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/1.477, allocations: 41.7 kB / 1.479 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/1.477, allocations: 390.7 kB / 1.479 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/1.478, allocations: 327.1 kB / 1.479 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/1.478, allocations: 24 kB / 1.479 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.478, allocations: 378.8 kB / 1.48 GB, free: 171 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/1.48, allocations: 0.9899 MB / 1.481 GB, free: 170 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/1.483, allocations: 1.279 MB / 1.482 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/1.486, allocations: 1.079 MB / 1.483 GB, free: 167.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/1.486, allocations: 4 kB / 1.483 GB, free: 167.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.008192/1.494, allocations: 3.213 MB / 1.486 GB, free: 164.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006881/1.495, allocations: 3.144 MB / 1.489 GB, free: 160.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/1.495, allocations: 15.92 kB / 1.489 GB, free: 160.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003595/1.498, allocations: 0.9747 MB / 1.49 GB, free: 159.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/1.5, allocations: 459.2 kB / 1.491 GB, free: 159.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007006/1.507, allocations: 7.577 MB / 1.498 GB, free: 151.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/1.509, allocations: 299.4 kB / 1.498 GB, free: 151.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/1.509, allocations: 64.02 kB / 1.498 GB, free: 151.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/1.509, allocations: 8 kB / 1.498 GB, free: 151.1 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007369/1.517, allocations: 2.93 MB / 1.501 GB, free: 148.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/1.517, allocations: 8 kB / 1.501 GB, free: 148.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/1.519, allocations: 0.6786 MB / 1.502 GB, free: 147.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/1.521, allocations: 491.2 kB / 1.502 GB, free: 147 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006313/1.528, allocations: 6.851 MB / 1.509 GB, free: 139.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/1.53, allocations: 291.5 kB / 1.509 GB, free: 139.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/1.53, allocations: 59.95 kB / 1.509 GB, free: 139.4 MB / 0.9167 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 () * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000735/1.531, allocations: 365.4 kB / 1.51 GB, free: 139.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003622/1.531, allocations: 71.16 kB / 1.51 GB, free: 139 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008132/1.539, allocations: 3.009 MB / 1.513 GB, free: 136 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/1.539, allocations: 8 kB / 1.513 GB, free: 135.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/1.539, allocations: 8 kB / 1.513 GB, free: 135.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/1.539, allocations: 7.922 kB / 1.513 GB, free: 135.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/1.55, allocations: 4.94 MB / 1.518 GB, free: 130.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.55, allocations: 4 kB / 1.518 GB, free: 130.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/1.551, allocations: 368 kB / 1.518 GB, free: 130.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003207/1.554, allocations: 0.9201 MB / 1.519 GB, free: 129.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/1.554, allocations: 31.97 kB / 1.519 GB, free: 129.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008442/1.563, allocations: 8.927 MB / 1.528 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.563, allocations: 11.94 kB / 1.528 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007838/1.571, allocations: 3.429 MB / 1.531 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007627/1.572, allocations: 312 kB / 1.531 GB, free: 116.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/1.572, allocations: 24 kB / 1.531 GB, free: 116.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/1.574, allocations: 287.5 kB / 1.532 GB, free: 115.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/1.574, allocations: 95.53 kB / 1.532 GB, free: 115.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.923e-05/1.574, allocations: 43.97 kB / 1.532 GB, free: 115.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004533/1.574, allocations: 362.8 kB / 1.532 GB, free: 115.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.72e-07/1.574, allocations: 0 / 1.532 GB, free: 115.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002265/1.577, allocations: 0.5234 MB / 1.533 GB, free: 114.8 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 () * Number of clocked 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.0002881/1.577, allocations: 144.5 kB / 1.533 GB, free: 114.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0104/1.587, allocations: 4.699 MB / 1.537 GB, free: 109.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.587, allocations: 1.062 kB / 1.537 GB, free: 109.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003305/1.591, allocations: 1.74 MB / 1.539 GB, free: 108.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008723/1.592, allocations: 102.8 kB / 1.539 GB, free: 108 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009779/1.601, allocations: 3.522 MB / 1.542 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/1.602, allocations: 1.047 MB / 1.544 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001953/1.604, allocations: 498.2 kB / 1.544 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/1.604, allocations: 79.38 kB / 1.544 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of SimCode: time 1.082e-06/1.604, allocations: 0 / 1.544 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of Templates: time 0.03602/1.64, allocations: 18.76 MB / 1.562 GB, free: 84.01 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches