Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 249.3 MB / 261.8 MB, free: 5.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009681/0.0009682, allocations: 168.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.2 MB / 0.572 GB, free: 10.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008618/0.0008618, allocations: 91.22 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.696e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2122, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7489/0.9611, allocations: 170.4 MB / 1.058 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.9615, allocations: 91.69 kB / 1.058 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1067/1.068, allocations: 43.72 MB / 1.101 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.803e-06/1.068, allocations: 0 / 1.101 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.11e-05/1.068, allocations: 16 kB / 1.101 GB, free: 8.965 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.001964/1.07, allocations: 0.9112 MB / 1.102 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.07, allocations: 12.03 kB / 1.102 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009177/1.08, allocations: 1.547 MB / 1.103 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009965/1.081, allocations: 0.5482 MB / 1.104 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/1.081, allocations: 49.28 kB / 1.104 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/1.081, allocations: 67.97 kB / 1.104 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/1.083, allocations: 1.348 MB / 1.105 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/1.083, allocations: 0 / 1.105 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/1.083, allocations: 27.98 kB / 1.105 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002459/1.083, allocations: 105.2 kB / 1.105 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/1.086, allocations: 1.492 MB / 1.107 GB, free: 2.684 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008971/1.095, allocations: 6.371 MB / 1.113 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/1.097, allocations: 1.031 MB / 1.114 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008698/1.098, allocations: 0.5595 MB / 1.115 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002697/1.101, allocations: 2.238 MB / 1.117 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/1.101, allocations: 50.48 kB / 1.117 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 2.254e-06/1.101, allocations: 0 / 1.117 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of matching and sorting (n=93): time 0.01302/1.114, allocations: 4.562 MB / 1.121 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/1.114, allocations: 195.9 kB / 1.122 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005708/1.114, allocations: 463.7 kB / 1.122 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.072e-05/1.115, allocations: 41.7 kB / 1.122 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/1.115, allocations: 394.7 kB / 1.122 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/1.115, allocations: 323.4 kB / 1.123 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/1.115, allocations: 20 kB / 1.123 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.115, allocations: 382.6 kB / 1.123 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/1.116, allocations: 0.6429 MB / 1.124 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/1.118, allocations: 0.9193 MB / 1.125 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/1.119, allocations: 0.7294 MB / 1.125 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.119, allocations: 4 kB / 1.125 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005387/1.124, allocations: 2.468 MB / 1.128 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001052/1.125, allocations: 3.145 MB / 1.131 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/1.125, allocations: 8 kB / 1.131 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003258/1.129, allocations: 0.8967 MB / 1.132 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/1.131, allocations: 463.3 kB / 1.132 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008671/1.139, allocations: 7.41 MB / 1.139 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/1.142, allocations: 303.5 kB / 1.14 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/1.142, allocations: 59.91 kB / 1.14 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.142, allocations: 4 kB / 1.14 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004897/1.147, allocations: 2.181 MB / 1.142 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/1.147, allocations: 8.375 kB / 1.142 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002181/1.149, allocations: 0.6194 MB / 1.143 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/1.152, allocations: 487.2 kB / 1.143 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008218/1.16, allocations: 6.674 MB / 1.149 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1.162, allocations: 303.4 kB / 1.15 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/1.162, allocations: 59.97 kB / 1.15 GB, free: 4.82 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000429/1.163, allocations: 164.7 kB / 1.15 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/1.163, allocations: 75.14 kB / 1.15 GB, free: 4.578 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005676/1.169, allocations: 2.279 MB / 1.152 GB, free: 2.277 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/1.169, allocations: 12 kB / 1.152 GB, free: 2.266 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.169, allocations: 4 kB / 1.152 GB, free: 2.262 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/1.169, allocations: 7.984 kB / 1.152 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00788/1.177, allocations: 4.211 MB / 1.156 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.177, allocations: 7.984 kB / 1.156 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/1.179, allocations: 360 kB / 1.157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003118/1.182, allocations: 0.8578 MB / 1.158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/1.182, allocations: 35.95 kB / 1.158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/1.192, allocations: 8.592 MB / 1.166 GB, free: 3.512 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.192, allocations: 11.94 kB / 1.166 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/1.197, allocations: 2.689 MB / 1.169 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000741/1.198, allocations: 315.9 kB / 1.169 GB, free: 260 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/1.198, allocations: 31.98 kB / 1.169 GB, free: 228 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/1.2, allocations: 279.5 kB / 1.169 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/1.2, allocations: 91.78 kB / 1.169 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.746e-05/1.201, allocations: 43.97 kB / 1.169 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004828/1.201, allocations: 357.5 kB / 1.17 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.4e-07/1.201, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002014/1.203, allocations: 0.5273 MB / 1.17 GB, free: 14.94 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003637/1.203, allocations: 146 kB / 1.17 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006774/1.21, allocations: 3.622 MB / 1.174 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.21, allocations: 0 / 1.174 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/1.213, allocations: 1.381 MB / 1.175 GB, free: 9.656 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/1.213, allocations: 110.6 kB / 1.175 GB, free: 9.547 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008357/1.222, allocations: 2.557 MB / 1.178 GB, free: 6.891 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/1.223, allocations: 1.048 MB / 1.179 GB, free: 5.809 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002034/1.225, allocations: 0.5031 MB / 1.179 GB, free: 5.301 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/1.225, allocations: 75.38 kB / 1.179 GB, free: 5.227 MB / 0.7917 GB Notification: Performance of SimCode: time 9.62e-07/1.225, allocations: 0 / 1.179 GB, free: 5.227 MB / 0.7917 GB Notification: Performance of Templates: time 0.02912/1.254, allocations: 19.3 MB / 1.198 GB, free: 1.949 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches