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.42/2.42, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001065/0.001065, allocations: 188.8 kB / 487.4 MB, free: 5.055 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.521/1.521, 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.0009305/0.0009307, allocations: 102.8 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.908e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2627, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.368, allocations: 190.8 MB / 1.392 GB, free: 14.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004768/1.369, allocations: 95.42 kB / 1.392 GB, free: 14.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.117/1.486, allocations: 49.48 MB / 1.441 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.794e-06/1.486, allocations: 0 / 1.441 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.294e-05/1.486, allocations: 23.92 kB / 1.441 GB, free: 7.715 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.00191/1.488, allocations: 0.9747 MB / 1.442 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.488, allocations: 11.97 kB / 1.442 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009561/1.498, allocations: 1.629 MB / 1.443 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/1.499, allocations: 0.6129 MB / 1.444 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/1.499, allocations: 20 kB / 1.444 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/1.499, allocations: 43.78 kB / 1.444 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002036/1.501, allocations: 1.301 MB / 1.445 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/1.503, allocations: 1.341 MB / 1.447 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/1.503, allocations: 3.938 kB / 1.447 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/1.503, allocations: 7.953 kB / 1.447 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003233/1.503, allocations: 143 kB / 1.447 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00916/1.513, allocations: 6.569 MB / 1.453 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/1.514, allocations: 0.8932 MB / 1.454 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/1.515, allocations: 0.5498 MB / 1.454 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001914/1.517, allocations: 1.483 MB / 1.456 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/1.517, allocations: 40.75 kB / 1.456 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.094e-06/1.517, allocations: 0 / 1.456 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.009694/1.526, allocations: 4.193 MB / 1.46 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/1.526, allocations: 98.05 kB / 1.46 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006281/1.527, allocations: 479.5 kB / 1.461 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/1.527, allocations: 25.7 kB / 1.461 GB, free: 6.266 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/1.527, allocations: 409.4 kB / 1.461 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/1.528, allocations: 357.8 kB / 1.461 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/1.528, allocations: 0 / 1.461 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002117/1.528, allocations: 386.4 kB / 1.462 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009407/1.529, allocations: 0.7266 MB / 1.462 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/1.53, allocations: 1.05 MB / 1.463 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/1.532, allocations: 0.9919 MB / 1.464 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.532, allocations: 4 kB / 1.464 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006174/1.538, allocations: 2.942 MB / 1.467 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001364/1.54, allocations: 3.917 MB / 1.471 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/1.54, allocations: 15.98 kB / 1.471 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003512/1.543, allocations: 1.015 MB / 1.472 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/1.545, allocations: 462.6 kB / 1.473 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/1.556, allocations: 8.684 MB / 1.481 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/1.558, allocations: 292.1 kB / 1.481 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/1.558, allocations: 66.41 kB / 1.481 GB, free: 3.707 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/1.558, allocations: 4 kB / 1.481 GB, free: 3.703 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004881/1.563, allocations: 2.275 MB / 1.484 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/1.563, allocations: 8.5 kB / 1.484 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/1.565, allocations: 0.5615 MB / 1.484 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/1.567, allocations: 487.2 kB / 1.485 GB, free: 0.6172 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008907/1.576, allocations: 8.352 MB / 1.493 GB, free: 7.797 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/1.578, allocations: 267.5 kB / 1.493 GB, free: 7.535 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/1.578, allocations: 63.97 kB / 1.493 GB, free: 7.473 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.0004778/1.579, allocations: 144.7 kB / 1.493 GB, free: 7.324 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/1.579, allocations: 79.06 kB / 1.493 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007045/1.586, allocations: 2.939 MB / 1.496 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/1.586, allocations: 12 kB / 1.496 GB, free: 4.27 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/1.586, allocations: 8 kB / 1.496 GB, free: 4.262 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/1.586, allocations: 7.969 kB / 1.496 GB, free: 4.254 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009019/1.595, allocations: 4.564 MB / 1.501 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/1.595, allocations: 4 kB / 1.501 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/1.597, allocations: 371.9 kB / 1.501 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003667/1.601, allocations: 1.088 MB / 1.502 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/1.601, allocations: 19.98 kB / 1.502 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/1.613, allocations: 10.12 MB / 1.512 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.613, allocations: 4 kB / 1.512 GB, free: 3.477 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006563/1.62, allocations: 3.152 MB / 1.515 GB, free: 96 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007453/1.621, allocations: 335.9 kB / 1.515 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002677/1.621, allocations: 11.98 kB / 1.515 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002215/1.623, allocations: 323.5 kB / 1.516 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/1.624, allocations: 100.2 kB / 1.516 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/1.624, allocations: 47.97 kB / 1.516 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005295/1.624, allocations: 350.9 kB / 1.516 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/1.624, allocations: 3.938 kB / 1.516 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002536/1.627, allocations: 0.5351 MB / 1.517 GB, free: 14.39 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.0003125/1.627, allocations: 135 kB / 1.517 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00756/1.635, allocations: 3.981 MB / 1.521 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.635, allocations: 0 / 1.521 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003047/1.638, allocations: 1.644 MB / 1.522 GB, free: 8.523 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/1.639, allocations: 116 kB / 1.522 GB, free: 8.414 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009486/1.648, allocations: 2.741 MB / 1.525 GB, free: 5.574 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.65, allocations: 1.115 MB / 1.526 GB, free: 4.43 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002509/1.652, allocations: 0.5498 MB / 1.527 GB, free: 3.875 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/1.653, allocations: 75.38 kB / 1.527 GB, free: 3.801 MB / 0.9323 GB Notification: Performance of SimCode: time 1.193e-06/1.653, allocations: 4 kB / 1.527 GB, free: 3.797 MB / 0.9323 GB Notification: Performance of Templates: time 0.04525/1.698, allocations: 23.73 MB / 1.55 GB, free: 12.17 MB / 0.9636 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