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: 387.1 MB / 399.7 MB, free: 9.512 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.00101/0.00101, allocations: 180.8 kB / 492.3 MB, free: 0.6367 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.432/1.432, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.0009704/0.0009704, allocations: 80.55 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.623e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2787, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.327, allocations: 191.5 MB / 1.399 GB, free: 8.914 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.328, allocations: 93 kB / 1.399 GB, free: 8.863 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1139/1.441, allocations: 49.66 MB / 1.448 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.403e-06/1.441, allocations: 0 / 1.448 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.409e-05/1.442, allocations: 20 kB / 1.448 GB, free: 14.59 MB / 0.8698 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.001969/1.443, allocations: 0.9776 MB / 1.449 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.444, allocations: 12.03 kB / 1.449 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009632/1.453, allocations: 1.625 MB / 1.451 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/1.454, allocations: 0.6135 MB / 1.451 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/1.455, allocations: 47.41 kB / 1.451 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/1.455, allocations: 66.14 kB / 1.451 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/1.457, allocations: 1.427 MB / 1.453 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/1.457, allocations: 0 / 1.453 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/1.457, allocations: 36.72 kB / 1.453 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003241/1.457, allocations: 148 kB / 1.453 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/1.46, allocations: 1.637 MB / 1.454 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009389/1.469, allocations: 6.655 MB / 1.461 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/1.471, allocations: 0.9305 MB / 1.462 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007762/1.472, allocations: 0.5752 MB / 1.462 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002016/1.474, allocations: 1.489 MB / 1.464 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/1.474, allocations: 38.5 kB / 1.464 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.977e-06/1.474, allocations: 0 / 1.464 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.01671/1.49, allocations: 5.648 MB / 1.469 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/1.49, allocations: 94.11 kB / 1.469 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/1.491, allocations: 0.502 MB / 1.47 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/1.491, allocations: 40.77 kB / 1.47 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/1.492, allocations: 409.4 kB / 1.47 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/1.492, allocations: 380.6 kB / 1.471 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-05/1.492, allocations: 25 kB / 1.471 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.492, allocations: 391 kB / 1.471 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/1.493, allocations: 0.7512 MB / 1.472 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/1.495, allocations: 1.081 MB / 1.473 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/1.496, allocations: 0.866 MB / 1.474 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.496, allocations: 4 kB / 1.474 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006205/1.502, allocations: 3.016 MB / 1.477 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001478/1.504, allocations: 3.925 MB / 1.481 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/1.504, allocations: 15.94 kB / 1.481 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004108/1.508, allocations: 1.176 MB / 1.482 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/1.51, allocations: 462.6 kB / 1.482 GB, free: 320 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/1.522, allocations: 8.992 MB / 1.491 GB, free: 8.551 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/1.525, allocations: 315.5 kB / 1.491 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003448/1.525, allocations: 59.97 kB / 1.491 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.525, allocations: 4 kB / 1.491 GB, free: 8.18 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006266/1.531, allocations: 2.742 MB / 1.494 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/1.531, allocations: 8 kB / 1.494 GB, free: 5.414 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003073/1.534, allocations: 0.9521 MB / 1.495 GB, free: 4.449 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/1.537, allocations: 471.1 kB / 1.495 GB, free: 3.988 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/1.55, allocations: 10.07 MB / 1.505 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/1.553, allocations: 299.5 kB / 1.506 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003362/1.553, allocations: 63.97 kB / 1.506 GB, free: 9.027 MB / 0.9167 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.0005589/1.554, allocations: 184.6 kB / 1.506 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/1.554, allocations: 83.06 kB / 1.506 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006942/1.561, allocations: 2.947 MB / 1.509 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/1.561, allocations: 16 kB / 1.509 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/1.561, allocations: 4 kB / 1.509 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.561, allocations: 3.984 kB / 1.509 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009172/1.57, allocations: 4.671 MB / 1.513 GB, free: 0.9609 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/1.57, allocations: 4 kB / 1.513 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/1.572, allocations: 364.1 kB / 1.514 GB, free: 0.6016 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003725/1.576, allocations: 1.103 MB / 1.515 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/1.576, allocations: 31.98 kB / 1.515 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/1.589, allocations: 10.5 MB / 1.525 GB, free: 4.414 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.221e-05/1.589, allocations: 8 kB / 1.525 GB, free: 4.406 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00652/1.595, allocations: 3.117 MB / 1.528 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008147/1.596, allocations: 343.9 kB / 1.528 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/1.597, allocations: 28 kB / 1.528 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/1.599, allocations: 311.5 kB / 1.529 GB, free: 372 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004286/1.599, allocations: 100.2 kB / 1.529 GB, free: 272 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.599, allocations: 43.97 kB / 1.529 GB, free: 228 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007638/1.6, allocations: 405.5 kB / 1.529 GB, free: 15.83 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/1.6, allocations: 0 / 1.529 GB, free: 15.83 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00296/1.603, allocations: 0.6093 MB / 1.53 GB, free: 15.22 MB / 0.948 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.0004236/1.604, allocations: 152.2 kB / 1.53 GB, free: 15.06 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008523/1.612, allocations: 4.361 MB / 1.534 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.612, allocations: 0 / 1.534 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00319/1.615, allocations: 1.682 MB / 1.536 GB, free: 8.875 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/1.616, allocations: 140.6 kB / 1.536 GB, free: 8.738 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008835/1.625, allocations: 2.791 MB / 1.539 GB, free: 5.848 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009326/1.626, allocations: 1.119 MB / 1.54 GB, free: 4.703 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002392/1.629, allocations: 0.5617 MB / 1.54 GB, free: 4.137 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/1.629, allocations: 71.39 kB / 1.54 GB, free: 4.066 MB / 0.948 GB Notification: Performance of SimCode: time 1.643e-06/1.629, allocations: 0 / 1.54 GB, free: 4.066 MB / 0.948 GB Notification: Performance of Templates: time 0.04376/1.673, allocations: 25.28 MB / 1.565 GB, free: 10.89 MB / 0.9792 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