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.247/2.247, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001058/0.001058, allocations: 184.1 kB / 487.4 MB, free: 5.047 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.549/1.549, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008816/0.0008817, allocations: 103.6 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.381e-05/1.383e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2909, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.346, allocations: 187.6 MB / 1.389 GB, free: 15.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/1.346, allocations: 91 kB / 1.389 GB, free: 15.35 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1074/1.453, allocations: 48.27 MB / 1.436 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.513e-06/1.454, allocations: 0 / 1.436 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.852e-05/1.454, allocations: 16 kB / 1.436 GB, free: 11.73 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.001705/1.455, allocations: 0.9114 MB / 1.437 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.682e-05/1.455, allocations: 12.03 kB / 1.437 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008853/1.464, allocations: 1.551 MB / 1.439 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/1.465, allocations: 0.5523 MB / 1.439 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/1.465, allocations: 20 kB / 1.439 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/1.465, allocations: 36 kB / 1.439 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002009/1.467, allocations: 1.229 MB / 1.441 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/1.469, allocations: 1.261 MB / 1.442 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/1.469, allocations: 0 / 1.442 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.469, allocations: 4 kB / 1.442 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/1.47, allocations: 99.12 kB / 1.442 GB, free: 6.715 MB / 0.8542 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.008331/1.478, allocations: 6.273 MB / 1.448 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/1.48, allocations: 0.9844 MB / 1.449 GB, free: 124 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/1.48, allocations: 0.5368 MB / 1.45 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002548/1.483, allocations: 2.214 MB / 1.452 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/1.483, allocations: 46.25 kB / 1.452 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 2.535e-06/1.483, allocations: 0 / 1.452 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.008455/1.491, allocations: 3.61 MB / 1.455 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.491, allocations: 203.6 kB / 1.455 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/1.492, allocations: 434.5 kB / 1.456 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/1.492, allocations: 25.7 kB / 1.456 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/1.492, allocations: 388.2 kB / 1.456 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/1.493, allocations: 310.5 kB / 1.457 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.929e-05/1.493, allocations: 0 / 1.457 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.493, allocations: 379.9 kB / 1.457 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008859/1.494, allocations: 0.6108 MB / 1.458 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/1.495, allocations: 0.8949 MB / 1.458 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/1.497, allocations: 0.85 MB / 1.459 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/1.497, allocations: 7.938 kB / 1.459 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005332/1.502, allocations: 2.419 MB / 1.462 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001201/1.504, allocations: 3.138 MB / 1.465 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/1.504, allocations: 11.94 kB / 1.465 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/1.506, allocations: 0.7282 MB / 1.465 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/1.508, allocations: 470.1 kB / 1.466 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008075/1.517, allocations: 7.146 MB / 1.473 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/1.519, allocations: 283.5 kB / 1.473 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/1.519, allocations: 63.52 kB / 1.473 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/1.519, allocations: 7.938 kB / 1.473 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003501/1.523, allocations: 1.731 MB / 1.475 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/1.523, allocations: 8 kB / 1.475 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/1.523, allocations: 223.6 kB / 1.475 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/1.526, allocations: 498.9 kB / 1.476 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/1.529, allocations: 3.812 MB / 1.479 GB, free: 4.949 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/1.531, allocations: 267.5 kB / 1.48 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/1.531, allocations: 63.34 kB / 1.48 GB, free: 4.637 MB / 0.8855 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.0003789/1.532, allocations: 128.7 kB / 1.48 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/1.532, allocations: 73.77 kB / 1.48 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005487/1.537, allocations: 2.292 MB / 1.482 GB, free: 2.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/1.537, allocations: 12 kB / 1.482 GB, free: 2.648 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/1.537, allocations: 8 kB / 1.482 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.538, allocations: 3.984 kB / 1.482 GB, free: 2.637 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008006/1.546, allocations: 4.141 MB / 1.486 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/1.546, allocations: 4 kB / 1.486 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.547, allocations: 368 kB / 1.486 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002942/1.55, allocations: 0.8422 MB / 1.487 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.55, allocations: 23.97 kB / 1.487 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009303/1.56, allocations: 8.228 MB / 1.495 GB, free: 4.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/1.56, allocations: 11.88 kB / 1.495 GB, free: 4.758 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/1.565, allocations: 2.72 MB / 1.498 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006236/1.566, allocations: 308.1 kB / 1.498 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/1.566, allocations: 8 kB / 1.498 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.568, allocations: 299.4 kB / 1.499 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/1.568, allocations: 91.77 kB / 1.499 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.568, allocations: 47.97 kB / 1.499 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005508/1.569, allocations: 326.9 kB / 1.499 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.893e-06/1.569, allocations: 0 / 1.499 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002332/1.571, allocations: 459.9 kB / 1.499 GB, free: 288 kB / 0.9011 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.0003166/1.571, allocations: 135 kB / 1.5 GB, free: 144 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005653/1.577, allocations: 3.148 MB / 1.503 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.577, allocations: 0 / 1.503 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/1.579, allocations: 1.316 MB / 1.504 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/1.58, allocations: 87.19 kB / 1.504 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008113/1.588, allocations: 2.517 MB / 1.506 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007634/1.589, allocations: 1.048 MB / 1.507 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002105/1.591, allocations: 0.4992 MB / 1.508 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/1.591, allocations: 75.38 kB / 1.508 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of SimCode: time 7.11e-07/1.591, allocations: 0 / 1.508 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of Templates: time 0.03262/1.624, allocations: 17.95 MB / 1.526 GB, free: 5.324 MB / 0.9323 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