Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.793/2.793, allocations: 436.5 MB / 0.7104 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.000389, allocations: 8 kB / 0.8708 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8404/0.8408, allocations: 153.7 MB / 1.021 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.00532/0.8462, allocations: 4.349 MB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005923/0.8521, allocations: 3.673 MB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.8526, allocations: 11.88 kB / 1.029 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.8529, allocations: 87.42 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.8544, allocations: 450.6 kB / 1.029 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.8556, allocations: 367 kB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008592/0.8565, allocations: 0.5619 MB / 1.03 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.8576, allocations: 0.6445 MB / 1.031 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.8581, allocations: 298.9 kB / 1.031 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006002/0.8587, allocations: 354.7 kB / 1.031 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.465e-05/0.8588, allocations: 32 kB / 1.031 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.8599, allocations: 455.3 kB / 1.032 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.8601, allocations: 255.3 kB / 1.032 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.8603, allocations: 145.3 kB / 1.032 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.8613, allocations: 0.9292 MB / 1.033 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8613, allocations: 4 kB / 1.033 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8614, allocations: 0 / 1.033 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.8614, allocations: 0 / 1.033 GB, free: 4.5 MB / 0.7794 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.001828/0.8632, allocations: 0.9468 MB / 1.034 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.8633, allocations: 11.98 kB / 1.034 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008928/0.8722, allocations: 1.649 MB / 1.036 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.8734, allocations: 0.534 MB / 1.036 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.8735, allocations: 49.25 kB / 1.036 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.8736, allocations: 63.89 kB / 1.036 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004833/0.8785, allocations: 1.833 MB / 1.038 GB, free: 15.25 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.8785, allocations: 4 kB / 1.038 GB, free: 15.24 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.8786, allocations: 27.98 kB / 1.038 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002303/0.8789, allocations: 101.5 kB / 1.038 GB, free: 15.12 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007535/0.8864, allocations: 2.48 MB / 1.041 GB, free: 12.64 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009468/0.8959, allocations: 6.35 MB / 1.047 GB, free: 5.883 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003412/0.8994, allocations: 1.355 MB / 1.048 GB, free: 4.473 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002768/0.9021, allocations: 2.166 MB / 1.05 GB, free: 2.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.9022, allocations: 46.5 kB / 1.05 GB, free: 2.164 MB / 0.795 GB Notification: Performance of pre-optimization done (n=69): time 2.535e-06/0.9022, allocations: 4 kB / 1.05 GB, free: 2.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=93): time 0.02308/0.9253, allocations: 6.626 MB / 1.057 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.9255, allocations: 187.9 kB / 1.057 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.9262, allocations: 0.5134 MB / 1.057 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/0.9264, allocations: 41.7 kB / 1.057 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.9268, allocations: 394.7 kB / 1.058 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/0.9272, allocations: 323.3 kB / 1.058 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.9273, allocations: 24 kB / 1.058 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002568/0.9276, allocations: 378.8 kB / 1.059 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002765/0.9303, allocations: 1.005 MB / 1.06 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002956/0.9333, allocations: 1.279 MB / 1.061 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002936/0.9362, allocations: 1.079 MB / 1.062 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.9363, allocations: 4 kB / 1.062 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.009859/0.9461, allocations: 3.337 MB / 1.065 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001823/0.948, allocations: 3.227 MB / 1.068 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.948, allocations: 11.98 kB / 1.068 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004465/0.9525, allocations: 1.096 MB / 1.069 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.9547, allocations: 459.2 kB / 1.07 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.9676, allocations: 9.439 MB / 1.079 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.9699, allocations: 303.5 kB / 1.079 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.97, allocations: 67.89 kB / 1.079 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.97, allocations: 4 kB / 1.079 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009175/0.9792, allocations: 3.004 MB / 1.082 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/0.9793, allocations: 8.25 kB / 1.082 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002905/0.9822, allocations: 0.7636 MB / 1.083 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/0.9846, allocations: 495.2 kB / 1.083 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009471/0.9941, allocations: 7.075 MB / 1.09 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.9964, allocations: 303.5 kB / 1.091 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.9966, allocations: 59.91 kB / 1.091 GB, free: 7.25 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * 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.0006655/0.9972, allocations: 360.7 kB / 1.091 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.9975, allocations: 71.16 kB / 1.091 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009389/1.007, allocations: 3.101 MB / 1.094 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/1.007, allocations: 19.98 kB / 1.094 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/1.007, allocations: 4 kB / 1.094 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.423e-05/1.007, allocations: 3.984 kB / 1.094 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/1.019, allocations: 5.008 MB / 1.099 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.019, allocations: 12.03 kB / 1.099 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/1.021, allocations: 363.4 kB / 1.099 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003753/1.025, allocations: 0.9989 MB / 1.1 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/1.025, allocations: 35.97 kB / 1.1 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/1.035, allocations: 8.895 MB / 1.109 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/1.035, allocations: 7.938 kB / 1.109 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009175/1.044, allocations: 3.506 MB / 1.113 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008231/1.045, allocations: 319.9 kB / 1.113 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/1.045, allocations: 23.98 kB / 1.113 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/1.047, allocations: 287.5 kB / 1.113 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/1.047, allocations: 95.64 kB / 1.113 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.427e-05/1.048, allocations: 35.97 kB / 1.113 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004523/1.048, allocations: 366.8 kB / 1.114 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/1.048, allocations: 0 / 1.114 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002185/1.05, allocations: 0.5117 MB / 1.114 GB, free: 14.29 MB / 0.8731 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 () * Number of clocked 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.0003282/1.051, allocations: 135 kB / 1.114 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.063, allocations: 4.944 MB / 1.119 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.063, allocations: 3.938 kB / 1.119 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.004088/1.067, allocations: 1.746 MB / 1.121 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009282/1.068, allocations: 102.2 kB / 1.121 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.079, allocations: 3.519 MB / 1.124 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009199/1.08, allocations: 1.051 MB / 1.125 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001999/1.082, allocations: 494.2 kB / 1.126 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/1.082, allocations: 83.36 kB / 1.126 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of SimCode: time 1.452e-06/1.082, allocations: 0 / 1.126 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of Templates: time 0.02942/1.112, allocations: 19.71 MB / 1.145 GB, free: 14.29 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches