Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.441/2.441, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001204/0.001204, allocations: 179.4 kB / 498.1 MB, free: 5.723 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.644/1.644, allocations: 223.2 MB / 0.7948 GB, free: 18.81 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.001055/0.001055, allocations: 96.31 kB / 0.9346 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 12.94 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3438, allocations: 142.3 MB / 1.223 GB, free: 89.55 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9885/1.332, allocations: 191.5 MB / 1.41 GB, free: 76.86 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/1.333, allocations: 94.31 kB / 1.41 GB, free: 76.86 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.1258/1.459, allocations: 49.96 MB / 1.459 GB, free: 72.61 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.154e-06/1.459, allocations: 0 / 1.459 GB, free: 72.61 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.366e-05/1.459, allocations: 19.78 kB / 1.459 GB, free: 72.61 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.00225/1.461, allocations: 1.045 MB / 1.46 GB, free: 71.92 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.773e-05/1.461, allocations: 11.75 kB / 1.46 GB, free: 71.92 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009478/1.47, allocations: 1.63 MB / 1.461 GB, free: 71.86 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/1.473, allocations: 0.6187 MB / 1.462 GB, free: 71.56 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/1.473, allocations: 40.2 kB / 1.462 GB, free: 71.56 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003116/1.473, allocations: 74.06 kB / 1.462 GB, free: 71.54 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007982/1.481, allocations: 1.922 MB / 1.464 GB, free: 71.29 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.995e-05/1.481, allocations: 3.938 kB / 1.464 GB, free: 71.28 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/1.481, allocations: 30.16 kB / 1.464 GB, free: 71.27 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005998/1.482, allocations: 152.6 kB / 1.464 GB, free: 71.27 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/1.495, allocations: 2.608 MB / 1.467 GB, free: 71.24 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.016/1.511, allocations: 6.683 MB / 1.473 GB, free: 67.05 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005567/1.517, allocations: 1.256 MB / 1.475 GB, free: 66.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003642/1.521, allocations: 1.497 MB / 1.476 GB, free: 65.75 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/1.521, allocations: 41.64 kB / 1.476 GB, free: 65.71 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=73): time 4.088e-06/1.521, allocations: 0 / 1.476 GB, free: 65.71 MB / 0.9011 GB Notification: Performance of matching and sorting (n=107): time 0.03515/1.556, allocations: 8.036 MB / 1.484 GB, free: 62.91 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/1.556, allocations: 90.2 kB / 1.484 GB, free: 62.81 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007573/1.557, allocations: 0.5046 MB / 1.484 GB, free: 62.62 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002604/1.557, allocations: 45.23 kB / 1.484 GB, free: 62.58 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/1.557, allocations: 408.2 kB / 1.485 GB, free: 62.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000296/1.558, allocations: 379.5 kB / 1.485 GB, free: 62.02 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.504e-05/1.558, allocations: 22.41 kB / 1.485 GB, free: 62.02 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.558, allocations: 393.9 kB / 1.486 GB, free: 61.68 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002755/1.561, allocations: 1.106 MB / 1.487 GB, free: 61.41 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003027/1.564, allocations: 1.44 MB / 1.488 GB, free: 60.73 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/1.567, allocations: 1.222 MB / 1.489 GB, free: 60.46 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/1.567, allocations: 3.094 kB / 1.489 GB, free: 60.46 MB / 0.9011 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.009877/1.576, allocations: 3.759 MB / 1.493 GB, free: 59.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007558/1.577, allocations: 3.921 MB / 1.497 GB, free: 55.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/1.577, allocations: 7.656 kB / 1.497 GB, free: 55.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004503/1.582, allocations: 1.26 MB / 1.498 GB, free: 54.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/1.584, allocations: 460.3 kB / 1.498 GB, free: 54.56 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009316/1.593, allocations: 9.272 MB / 1.508 GB, free: 49.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/1.596, allocations: 309.2 kB / 1.508 GB, free: 48.97 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/1.596, allocations: 65.88 kB / 1.508 GB, free: 48.96 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.596, allocations: 4.688 kB / 1.508 GB, free: 48.96 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008503/1.605, allocations: 3.485 MB / 1.511 GB, free: 47.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/1.605, allocations: 11.62 kB / 1.511 GB, free: 47.94 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003613/1.608, allocations: 1.025 MB / 1.512 GB, free: 47.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/1.61, allocations: 470.7 kB / 1.513 GB, free: 47.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/1.621, allocations: 10.4 MB / 1.523 GB, free: 41.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/1.623, allocations: 309.5 kB / 1.523 GB, free: 40.96 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003741/1.624, allocations: 61.53 kB / 1.523 GB, free: 40.95 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.00101/1.625, allocations: 374.1 kB / 1.524 GB, free: 40.72 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004068/1.625, allocations: 89.97 kB / 1.524 GB, free: 40.68 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009843/1.635, allocations: 3.69 MB / 1.527 GB, free: 39.45 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.635, allocations: 11.72 kB / 1.527 GB, free: 39.45 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/1.635, allocations: 7.875 kB / 1.527 GB, free: 39.45 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/1.635, allocations: 3.984 kB / 1.527 GB, free: 39.45 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/1.648, allocations: 5.413 MB / 1.533 GB, free: 37.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/1.648, allocations: 3.938 kB / 1.533 GB, free: 37.28 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/1.65, allocations: 365.4 kB / 1.533 GB, free: 37.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004114/1.654, allocations: 1.169 MB / 1.534 GB, free: 36.71 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/1.654, allocations: 38.25 kB / 1.534 GB, free: 36.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/1.666, allocations: 10.84 MB / 1.545 GB, free: 30.28 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.666, allocations: 7.188 kB / 1.545 GB, free: 30.28 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009785/1.675, allocations: 3.854 MB / 1.549 GB, free: 28.47 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.677, allocations: 351.4 kB / 1.549 GB, free: 28.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/1.677, allocations: 22.78 kB / 1.549 GB, free: 28.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/1.679, allocations: 322.7 kB / 1.549 GB, free: 28.14 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004031/1.68, allocations: 105.5 kB / 1.549 GB, free: 28.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/1.68, allocations: 42.78 kB / 1.549 GB, free: 28.09 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005849/1.68, allocations: 404.1 kB / 1.55 GB, free: 27.94 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.01e-07/1.68, allocations: 0 / 1.55 GB, free: 27.94 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00302/1.683, allocations: 0.61 MB / 1.55 GB, free: 27.93 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.0003631/1.684, allocations: 157.6 kB / 1.55 GB, free: 27.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01289/1.697, allocations: 5.426 MB / 1.556 GB, free: 25.76 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/1.697, allocations: 3.875 kB / 1.556 GB, free: 25.76 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004816/1.702, allocations: 2.053 MB / 1.558 GB, free: 24.83 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/1.703, allocations: 136.4 kB / 1.558 GB, free: 24.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/1.714, allocations: 3.797 MB / 1.562 GB, free: 22.85 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/1.715, allocations: 1.118 MB / 1.563 GB, free: 21.98 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002203/1.717, allocations: 0.5411 MB / 1.563 GB, free: 21.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004119/1.717, allocations: 79.38 kB / 1.563 GB, free: 21.68 MB / 0.9011 GB Notification: Performance of SimCode: time 1.864e-06/1.717, allocations: 4 kB / 1.563 GB, free: 21.68 MB / 0.9011 GB Notification: Performance of Templates: time 0.0362/1.753, allocations: 24.6 MB / 1.587 GB, free: 13.9 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches