Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001012/0.001012, allocations: 192.6 kB / 487.4 MB, free: 5.039 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.477/1.477, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 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.0009003/0.0009001, allocations: 95.67 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.574e-05/1.576e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2868, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9885/1.275, allocations: 195.5 MB / 1.397 GB, free: 12.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.276, allocations: 90.81 kB / 1.397 GB, free: 12.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1244/1.4, allocations: 51.24 MB / 1.447 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.783e-06/1.4, allocations: 0 / 1.447 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.979e-05/1.4, allocations: 23.98 kB / 1.447 GB, free: 1.734 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002861/1.403, allocations: 0.9701 MB / 1.448 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.403, allocations: 8.031 kB / 1.448 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/1.413, allocations: 1.621 MB / 1.45 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/1.415, allocations: 0.6245 MB / 1.45 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/1.415, allocations: 20 kB / 1.45 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003328/1.415, allocations: 36 kB / 1.45 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002517/1.418, allocations: 1.304 MB / 1.451 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/1.42, allocations: 1.347 MB / 1.453 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/1.42, allocations: 4 kB / 1.453 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/1.421, allocations: 0 / 1.453 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004008/1.421, allocations: 145.5 kB / 1.453 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/1.433, allocations: 6.575 MB / 1.459 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/1.435, allocations: 0.9022 MB / 1.46 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008226/1.436, allocations: 0.5539 MB / 1.461 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002528/1.438, allocations: 1.457 MB / 1.462 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/1.438, allocations: 49.61 kB / 1.462 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.196e-06/1.438, allocations: 0 / 1.462 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.01071/1.449, allocations: 4.201 MB / 1.466 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/1.449, allocations: 90.11 kB / 1.466 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000696/1.45, allocations: 478.1 kB / 1.467 GB, free: 328 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/1.45, allocations: 29.64 kB / 1.467 GB, free: 292 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/1.45, allocations: 411.5 kB / 1.467 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004134/1.451, allocations: 362.5 kB / 1.468 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/1.451, allocations: 0 / 1.468 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000193/1.451, allocations: 388.6 kB / 1.468 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/1.452, allocations: 0.7221 MB / 1.469 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/1.454, allocations: 1.048 MB / 1.47 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/1.456, allocations: 0.9906 MB / 1.471 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/1.456, allocations: 4 kB / 1.471 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006849/1.463, allocations: 2.944 MB / 1.474 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001804/1.464, allocations: 3.923 MB / 1.477 GB, free: 6.809 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/1.464, allocations: 8 kB / 1.477 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003766/1.468, allocations: 1.005 MB / 1.478 GB, free: 5.938 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/1.471, allocations: 457.6 kB / 1.479 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/1.482, allocations: 8.707 MB / 1.487 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/1.484, allocations: 291.4 kB / 1.488 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003273/1.485, allocations: 63.97 kB / 1.488 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.485, allocations: 8.062 kB / 1.488 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005129/1.49, allocations: 2.274 MB / 1.49 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-05/1.49, allocations: 15.95 kB / 1.49 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/1.492, allocations: 0.5461 MB / 1.49 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/1.494, allocations: 487.1 kB / 1.491 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009816/1.504, allocations: 8.336 MB / 1.499 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/1.506, allocations: 267.6 kB / 1.499 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003753/1.507, allocations: 63.97 kB / 1.499 GB, free: 1.082 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006172/1.508, allocations: 143.7 kB / 1.5 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/1.508, allocations: 82.97 kB / 1.5 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007929/1.516, allocations: 2.943 MB / 1.502 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.516, allocations: 12 kB / 1.502 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/1.516, allocations: 4 kB / 1.502 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/1.516, allocations: 11.97 kB / 1.503 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009768/1.526, allocations: 4.568 MB / 1.507 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/1.526, allocations: 8.5 kB / 1.507 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/1.528, allocations: 367.4 kB / 1.507 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003747/1.532, allocations: 1.088 MB / 1.508 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/1.532, allocations: 11.98 kB / 1.508 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/1.545, allocations: 10.13 MB / 1.518 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.594e-05/1.545, allocations: 8 kB / 1.518 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00749/1.553, allocations: 3.143 MB / 1.521 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008761/1.553, allocations: 340.1 kB / 1.522 GB, free: 9.344 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/1.554, allocations: 11.98 kB / 1.522 GB, free: 9.332 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/1.556, allocations: 335.3 kB / 1.522 GB, free: 9.004 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003307/1.556, allocations: 108.1 kB / 1.522 GB, free: 8.898 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/1.556, allocations: 43.97 kB / 1.522 GB, free: 8.855 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005463/1.557, allocations: 362.9 kB / 1.523 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.31e-07/1.557, allocations: 0 / 1.523 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00253/1.56, allocations: 0.5234 MB / 1.523 GB, free: 7.977 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.000308/1.56, allocations: 127 kB / 1.523 GB, free: 7.84 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007474/1.567, allocations: 3.988 MB / 1.527 GB, free: 3.789 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/1.567, allocations: 1.5 kB / 1.527 GB, free: 3.789 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003129/1.571, allocations: 1.634 MB / 1.529 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/1.572, allocations: 115.7 kB / 1.529 GB, free: 2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008788/1.58, allocations: 2.748 MB / 1.531 GB, free: 15.16 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009737/1.581, allocations: 1.112 MB / 1.533 GB, free: 14.02 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002559/1.584, allocations: 0.5576 MB / 1.533 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/1.584, allocations: 75.39 kB / 1.533 GB, free: 13.38 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/1.584, allocations: 3.938 kB / 1.533 GB, free: 13.38 MB / 0.948 GB Notification: Performance of Templates: time 0.04302/1.627, allocations: 23.75 MB / 1.556 GB, free: 5.754 MB / 0.9636 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches