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: 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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.278/2.278, allocations: 393.5 MB / 408.4 MB, free: 11 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.001311/0.001311, allocations: 172 kB / 0.4902 GB, free: 2.234 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.836/1.836, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.0009782/0.0009781, allocations: 110.2 kB / 0.9397 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 10.11 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3378, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.398, allocations: 189.1 MB / 1.414 GB, free: 72.86 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/1.398, allocations: 92.67 kB / 1.414 GB, free: 72.86 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.124/1.522, allocations: 48.74 MB / 1.462 GB, free: 68.32 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.555e-06/1.522, allocations: 0 / 1.462 GB, free: 68.32 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.465e-05/1.522, allocations: 19.69 kB / 1.462 GB, free: 68.31 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.00248/1.525, allocations: 0.9618 MB / 1.463 GB, free: 67.66 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.525, allocations: 8.344 kB / 1.463 GB, free: 67.66 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008521/1.534, allocations: 1.553 MB / 1.464 GB, free: 67.61 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/1.535, allocations: 0.5422 MB / 1.465 GB, free: 67.33 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/1.535, allocations: 51.02 kB / 1.465 GB, free: 67.33 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/1.535, allocations: 57.2 kB / 1.465 GB, free: 67.32 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004201/1.539, allocations: 1.846 MB / 1.466 GB, free: 67.05 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/1.539, allocations: 5.938 kB / 1.466 GB, free: 67.05 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/1.539, allocations: 24.77 kB / 1.467 GB, free: 67.04 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000218/1.54, allocations: 108 kB / 1.467 GB, free: 67.03 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006753/1.546, allocations: 2.477 MB / 1.469 GB, free: 67 MB / 0.9011 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.007915/1.554, allocations: 6.386 MB / 1.475 GB, free: 62.65 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/1.557, allocations: 1.342 MB / 1.477 GB, free: 62.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002379/1.56, allocations: 2.229 MB / 1.479 GB, free: 60.49 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/1.56, allocations: 49.03 kB / 1.479 GB, free: 60.44 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=69): time 2.845e-06/1.56, allocations: 4 kB / 1.479 GB, free: 60.44 MB / 0.9011 GB Notification: Performance of matching and sorting (n=93): time 0.0213/1.581, allocations: 6.416 MB / 1.485 GB, free: 58.18 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/1.581, allocations: 209.6 kB / 1.485 GB, free: 57.95 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007071/1.582, allocations: 472.9 kB / 1.486 GB, free: 57.75 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001627/1.582, allocations: 43.88 kB / 1.486 GB, free: 57.72 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/1.582, allocations: 390.2 kB / 1.486 GB, free: 57.43 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/1.583, allocations: 324 kB / 1.486 GB, free: 57.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-05/1.583, allocations: 24.16 kB / 1.486 GB, free: 57.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.583, allocations: 377.9 kB / 1.487 GB, free: 56.86 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002803/1.586, allocations: 0.9944 MB / 1.488 GB, free: 56.61 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/1.589, allocations: 1.273 MB / 1.489 GB, free: 56.03 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002918/1.591, allocations: 1.082 MB / 1.49 GB, free: 55.78 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/1.591, allocations: 6.25 kB / 1.49 GB, free: 55.77 MB / 0.9011 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.009176/1.601, allocations: 3.206 MB / 1.493 GB, free: 54.79 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007008/1.601, allocations: 3.144 MB / 1.496 GB, free: 51.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/1.601, allocations: 11.75 kB / 1.496 GB, free: 51.47 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003699/1.605, allocations: 0.9772 MB / 1.497 GB, free: 51.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/1.607, allocations: 459.7 kB / 1.498 GB, free: 50.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007064/1.614, allocations: 7.58 MB / 1.505 GB, free: 45.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/1.617, allocations: 295.9 kB / 1.505 GB, free: 45.73 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/1.617, allocations: 61.69 kB / 1.505 GB, free: 45.72 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/1.617, allocations: 4.938 kB / 1.505 GB, free: 45.72 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007764/1.625, allocations: 2.928 MB / 1.508 GB, free: 44.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/1.625, allocations: 7.812 kB / 1.508 GB, free: 44.88 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/1.627, allocations: 0.6924 MB / 1.509 GB, free: 44.61 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/1.629, allocations: 478.8 kB / 1.509 GB, free: 44.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009085/1.639, allocations: 6.866 MB / 1.516 GB, free: 39.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004049/1.643, allocations: 293.7 kB / 1.516 GB, free: 39.79 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004372/1.643, allocations: 61.28 kB / 1.517 GB, free: 39.78 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 () * 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.001343/1.645, allocations: 360.9 kB / 1.517 GB, free: 39.55 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006313/1.645, allocations: 70.41 kB / 1.517 GB, free: 39.51 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/1.661, allocations: 3.016 MB / 1.52 GB, free: 38.47 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/1.661, allocations: 11.72 kB / 1.52 GB, free: 38.47 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.51e-05/1.661, allocations: 3.906 kB / 1.52 GB, free: 38.47 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/1.661, allocations: 7.891 kB / 1.52 GB, free: 38.46 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/1.682, allocations: 4.949 MB / 1.525 GB, free: 36.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-05/1.682, allocations: 3.969 kB / 1.525 GB, free: 36.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003085/1.685, allocations: 365.1 kB / 1.525 GB, free: 36.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005361/1.69, allocations: 0.9271 MB / 1.526 GB, free: 35.74 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002996/1.691, allocations: 34.5 kB / 1.526 GB, free: 35.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/1.705, allocations: 8.914 MB / 1.535 GB, free: 29.69 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/1.705, allocations: 11.75 kB / 1.535 GB, free: 29.68 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/1.72, allocations: 3.42 MB / 1.538 GB, free: 27.98 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/1.722, allocations: 312.4 kB / 1.538 GB, free: 27.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005984/1.722, allocations: 18.28 kB / 1.538 GB, free: 27.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003565/1.726, allocations: 293.1 kB / 1.539 GB, free: 27.68 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005535/1.727, allocations: 93.67 kB / 1.539 GB, free: 27.63 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002325/1.727, allocations: 42.97 kB / 1.539 GB, free: 27.62 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009301/1.728, allocations: 367.4 kB / 1.539 GB, free: 27.48 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.51e-07/1.728, allocations: 3.938 kB / 1.539 GB, free: 27.48 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004126/1.732, allocations: 0.5175 MB / 1.54 GB, free: 27.48 MB / 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 () * 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.0004707/1.733, allocations: 143.1 kB / 1.54 GB, free: 27.37 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01825/1.751, allocations: 4.686 MB / 1.544 GB, free: 25.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.751, allocations: 1.062 kB / 1.544 GB, free: 25.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.006035/1.757, allocations: 1.748 MB / 1.546 GB, free: 24.76 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.758, allocations: 107.4 kB / 1.546 GB, free: 24.73 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/1.774, allocations: 3.516 MB / 1.55 GB, free: 22.89 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007929/1.775, allocations: 1.048 MB / 1.551 GB, free: 22.05 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003577/1.778, allocations: 496.7 kB / 1.551 GB, free: 21.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/1.779, allocations: 78 kB / 1.551 GB, free: 21.78 MB / 0.9011 GB Notification: Performance of SimCode: time 1.262e-06/1.779, allocations: 0 / 1.551 GB, free: 21.78 MB / 0.9011 GB Notification: Performance of Templates: time 0.04162/1.821, allocations: 18.78 MB / 1.57 GB, free: 11.22 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (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 & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches