Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.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_9_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_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.00103/0.00103, allocations: 180.9 kB / 492.3 MB, free: 0.6133 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.429/1.429, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.0009831/0.0009832, allocations: 97 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.446e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2846, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.317, allocations: 188.2 MB / 1.396 GB, free: 11.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/1.317, allocations: 95.7 kB / 1.396 GB, free: 11.93 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1117/1.429, allocations: 48.45 MB / 1.444 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.225e-06/1.429, allocations: 0 / 1.444 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.974e-05/1.429, allocations: 16 kB / 1.444 GB, free: 2.742 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.00211/1.431, allocations: 0.9099 MB / 1.445 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.431, allocations: 8.031 kB / 1.445 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009272/1.44, allocations: 1.551 MB / 1.446 GB, free: 284 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/1.442, allocations: 0.5485 MB / 1.447 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/1.442, allocations: 49.48 kB / 1.447 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/1.442, allocations: 60.61 kB / 1.447 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/1.444, allocations: 1.343 MB / 1.448 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/1.444, allocations: 8 kB / 1.448 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/1.444, allocations: 30.73 kB / 1.448 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002173/1.445, allocations: 104.5 kB / 1.448 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/1.447, allocations: 1.489 MB / 1.45 GB, free: 13.45 MB / 0.8698 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.008865/1.456, allocations: 6.376 MB / 1.456 GB, free: 7.527 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/1.457, allocations: 1.016 MB / 1.457 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008015/1.458, allocations: 0.5684 MB / 1.457 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002576/1.461, allocations: 2.231 MB / 1.46 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/1.461, allocations: 46.19 kB / 1.46 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 2.164e-06/1.461, allocations: 0 / 1.46 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.01279/1.474, allocations: 4.563 MB / 1.464 GB, free: 428 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/1.474, allocations: 199.6 kB / 1.464 GB, free: 184 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006634/1.475, allocations: 477.2 kB / 1.465 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.963e-05/1.475, allocations: 37.7 kB / 1.465 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/1.475, allocations: 385.8 kB / 1.465 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/1.475, allocations: 322.6 kB / 1.465 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/1.475, allocations: 22.69 kB / 1.465 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.476, allocations: 380.7 kB / 1.466 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00096/1.476, allocations: 0.6432 MB / 1.466 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/1.478, allocations: 0.9166 MB / 1.467 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/1.479, allocations: 0.7432 MB / 1.468 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/1.479, allocations: 4 kB / 1.468 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005048/1.484, allocations: 2.463 MB / 1.47 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001489/1.485, allocations: 3.134 MB / 1.474 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/1.485, allocations: 12 kB / 1.474 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003137/1.488, allocations: 0.9029 MB / 1.474 GB, free: 7.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/1.491, allocations: 462.6 kB / 1.475 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008124/1.499, allocations: 7.407 MB / 1.482 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/1.501, allocations: 308.1 kB / 1.482 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/1.501, allocations: 57.59 kB / 1.482 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.501, allocations: 4 kB / 1.482 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004397/1.506, allocations: 2.187 MB / 1.485 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/1.506, allocations: 8.062 kB / 1.485 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/1.508, allocations: 0.6186 MB / 1.485 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/1.51, allocations: 482.8 kB / 1.486 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007343/1.517, allocations: 6.674 MB / 1.492 GB, free: 6.801 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/1.52, allocations: 287.6 kB / 1.492 GB, free: 6.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/1.52, allocations: 71.91 kB / 1.492 GB, free: 6.449 MB / 0.9011 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.0003775/1.52, allocations: 164.7 kB / 1.493 GB, free: 6.281 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/1.52, allocations: 71.16 kB / 1.493 GB, free: 6.211 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005249/1.526, allocations: 2.286 MB / 1.495 GB, free: 3.902 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/1.526, allocations: 8 kB / 1.495 GB, free: 3.895 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.526, allocations: 8 kB / 1.495 GB, free: 3.887 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/1.526, allocations: 3.984 kB / 1.495 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007481/1.533, allocations: 4.211 MB / 1.499 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.533, allocations: 12 kB / 1.499 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/1.535, allocations: 363.6 kB / 1.499 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002904/1.538, allocations: 0.8621 MB / 1.5 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.538, allocations: 39.91 kB / 1.5 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009727/1.548, allocations: 8.599 MB / 1.509 GB, free: 5.113 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.548, allocations: 4 kB / 1.509 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005166/1.553, allocations: 2.685 MB / 1.511 GB, free: 2.195 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006986/1.554, allocations: 308.1 kB / 1.512 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/1.554, allocations: 20 kB / 1.512 GB, free: 1.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/1.556, allocations: 291.5 kB / 1.512 GB, free: 1.57 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/1.556, allocations: 91.77 kB / 1.512 GB, free: 1.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.762e-05/1.556, allocations: 43.97 kB / 1.512 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004967/1.557, allocations: 357.6 kB / 1.512 GB, free: 1.09 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/1.557, allocations: 0 / 1.512 GB, free: 1.09 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002218/1.559, allocations: 0.5195 MB / 1.513 GB, free: 0.5703 MB / 0.9167 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.0003037/1.559, allocations: 148.2 kB / 1.513 GB, free: 424 kB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006637/1.566, allocations: 3.623 MB / 1.517 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.566, allocations: 0 / 1.517 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002193/1.568, allocations: 1.389 MB / 1.518 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008195/1.569, allocations: 112.2 kB / 1.518 GB, free: 11.16 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008497/1.577, allocations: 2.568 MB / 1.521 GB, free: 8.504 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009132/1.578, allocations: 1.052 MB / 1.522 GB, free: 7.422 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002181/1.581, allocations: 0.5035 MB / 1.522 GB, free: 6.914 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/1.581, allocations: 75.38 kB / 1.522 GB, free: 6.84 MB / 0.9323 GB Notification: Performance of SimCode: time 7.81e-07/1.581, allocations: 0 / 1.522 GB, free: 6.84 MB / 0.9323 GB Notification: Performance of Templates: time 0.03353/1.615, allocations: 19.29 MB / 1.541 GB, free: 3.59 MB / 0.948 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches