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.395/2.395, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001123/0.001123, allocations: 165.2 kB / 498.1 MB, free: 5.75 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.757/1.757, allocations: 223.2 MB / 0.7948 GB, free: 18.84 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.00087/0.0008701, allocations: 113.5 kB / 0.9346 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 9.219 kB / 1.084 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3201, allocations: 142.4 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.914/1.234, allocations: 196.2 MB / 1.414 GB, free: 180.1 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/1.235, allocations: 97.39 kB / 1.415 GB, free: 180.1 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.1208/1.355, allocations: 51.71 MB / 1.465 GB, free: 148.9 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.914e-06/1.355, allocations: 0 / 1.465 GB, free: 148.9 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.763e-05/1.355, allocations: 16 kB / 1.465 GB, free: 148.9 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002074/1.357, allocations: 1.059 MB / 1.466 GB, free: 147.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.358, allocations: 12.03 kB / 1.466 GB, free: 147.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009246/1.367, allocations: 1.625 MB / 1.468 GB, free: 146.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.368, allocations: 0.6147 MB / 1.468 GB, free: 145.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/1.368, allocations: 45.3 kB / 1.468 GB, free: 145.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/1.369, allocations: 67.97 kB / 1.468 GB, free: 145.4 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004253/1.373, allocations: 1.924 MB / 1.47 GB, free: 143.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/1.373, allocations: 3.938 kB / 1.47 GB, free: 143.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.373, allocations: 27.98 kB / 1.47 GB, free: 143.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002771/1.373, allocations: 145.4 kB / 1.47 GB, free: 143.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006588/1.38, allocations: 2.612 MB / 1.473 GB, free: 140.6 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008567/1.389, allocations: 6.691 MB / 1.48 GB, free: 133.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/1.391, allocations: 1.256 MB / 1.481 GB, free: 132.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001902/1.393, allocations: 1.484 MB / 1.482 GB, free: 130.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/1.393, allocations: 42.42 kB / 1.482 GB, free: 130.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=73): time 2.374e-06/1.393, allocations: 4 kB / 1.482 GB, free: 130.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=107): time 0.0246/1.418, allocations: 8.037 MB / 1.49 GB, free: 122.6 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/1.418, allocations: 90.11 kB / 1.49 GB, free: 122.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007257/1.419, allocations: 0.5097 MB / 1.491 GB, free: 122 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/1.419, allocations: 45.7 kB / 1.491 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/1.419, allocations: 411.1 kB / 1.491 GB, free: 121.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/1.42, allocations: 370.7 kB / 1.491 GB, free: 121.1 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/1.42, allocations: 24 kB / 1.492 GB, free: 121.1 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.42, allocations: 394.7 kB / 1.492 GB, free: 120.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/1.422, allocations: 1.103 MB / 1.493 GB, free: 119.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/1.425, allocations: 1.447 MB / 1.494 GB, free: 118 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/1.428, allocations: 1.218 MB / 1.496 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.428, allocations: 0 / 1.496 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.009634/1.438, allocations: 3.764 MB / 1.499 GB, free: 113 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008629/1.439, allocations: 3.919 MB / 1.503 GB, free: 108.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/1.439, allocations: 12 kB / 1.503 GB, free: 108.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004836/1.444, allocations: 1.256 MB / 1.504 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/1.446, allocations: 463.2 kB / 1.505 GB, free: 107.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009591/1.455, allocations: 9.283 MB / 1.514 GB, free: 97.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/1.458, allocations: 319.4 kB / 1.514 GB, free: 97.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000384/1.458, allocations: 59.97 kB / 1.514 GB, free: 96.96 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.458, allocations: 6.75 kB / 1.514 GB, free: 96.96 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00891/1.467, allocations: 3.479 MB / 1.518 GB, free: 93.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/1.467, allocations: 12 kB / 1.518 GB, free: 93.45 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00346/1.471, allocations: 1.034 MB / 1.519 GB, free: 92.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/1.473, allocations: 471.2 kB / 1.519 GB, free: 91.94 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/1.484, allocations: 10.39 MB / 1.529 GB, free: 81.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/1.486, allocations: 299.6 kB / 1.529 GB, free: 80.72 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/1.487, allocations: 68.06 kB / 1.53 GB, free: 80.66 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 () * Number of clocked 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.0009805/1.488, allocations: 384.6 kB / 1.53 GB, free: 80.27 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/1.488, allocations: 90.95 kB / 1.53 GB, free: 80.18 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009585/1.498, allocations: 3.669 MB / 1.534 GB, free: 76.49 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/1.498, allocations: 12 kB / 1.534 GB, free: 76.48 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.55e-05/1.498, allocations: 11.92 kB / 1.534 GB, free: 76.46 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/1.498, allocations: 11.98 kB / 1.534 GB, free: 76.45 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/1.51, allocations: 5.414 MB / 1.539 GB, free: 70.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/1.51, allocations: 4 kB / 1.539 GB, free: 70.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.511, allocations: 368 kB / 1.539 GB, free: 70.53 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003967/1.515, allocations: 1.174 MB / 1.54 GB, free: 69.34 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/1.516, allocations: 39.94 kB / 1.54 GB, free: 69.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/1.526, allocations: 10.84 MB / 1.551 GB, free: 57.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.527, allocations: 11.94 kB / 1.551 GB, free: 57.92 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009033/1.536, allocations: 3.853 MB / 1.555 GB, free: 53.82 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000964/1.537, allocations: 347.9 kB / 1.555 GB, free: 53.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/1.537, allocations: 24.11 kB / 1.555 GB, free: 53.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002015/1.539, allocations: 327.3 kB / 1.555 GB, free: 53.12 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004049/1.539, allocations: 104.2 kB / 1.556 GB, free: 53.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.539, allocations: 43.97 kB / 1.556 GB, free: 52.97 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000585/1.54, allocations: 402.8 kB / 1.556 GB, free: 52.58 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.1e-07/1.54, allocations: 0 / 1.556 GB, free: 52.58 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002834/1.543, allocations: 0.6093 MB / 1.557 GB, free: 51.97 MB / 0.9011 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 () * Number of clocked 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.0004134/1.543, allocations: 155 kB / 1.557 GB, free: 51.81 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01234/1.556, allocations: 5.418 MB / 1.562 GB, free: 46.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/1.556, allocations: 4 kB / 1.562 GB, free: 46.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004477/1.56, allocations: 2.064 MB / 1.564 GB, free: 44.18 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.561, allocations: 136 kB / 1.564 GB, free: 44.05 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.572, allocations: 3.804 MB / 1.568 GB, free: 40.16 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008047/1.572, allocations: 1.119 MB / 1.569 GB, free: 39 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002118/1.575, allocations: 0.5343 MB / 1.57 GB, free: 38.46 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/1.575, allocations: 83.38 kB / 1.57 GB, free: 38.38 MB / 0.9011 GB Notification: Performance of SimCode: time 1.022e-06/1.575, allocations: 0 / 1.57 GB, free: 38.38 MB / 0.9011 GB Notification: Performance of Templates: time 0.03362/1.609, allocations: 24.6 MB / 1.594 GB, free: 13.9 MB / 0.9011 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