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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.291/2.291, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001181/0.001181, allocations: 180.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.0008652/0.0008652, allocations: 87.95 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/2.996e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2748, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9796/1.255, allocations: 189 MB / 1.403 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/1.255, allocations: 96.17 kB / 1.403 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1203/1.375, allocations: 48.45 MB / 1.451 GB, free: 4.801 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.763e-06/1.375, allocations: 0 / 1.451 GB, free: 4.801 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.683e-05/1.375, allocations: 16 kB / 1.451 GB, free: 4.785 MB / 0.9011 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.002954/1.378, allocations: 0.9171 MB / 1.452 GB, free: 3.824 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/1.378, allocations: 12.03 kB / 1.452 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/1.389, allocations: 1.551 MB / 1.453 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/1.391, allocations: 0.5443 MB / 1.454 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/1.391, allocations: 45.3 kB / 1.454 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006455/1.392, allocations: 67.97 kB / 1.454 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004085/1.396, allocations: 1.348 MB / 1.455 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.163e-05/1.396, allocations: 0 / 1.455 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/1.396, allocations: 24 kB / 1.455 GB, free: 108 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003793/1.397, allocations: 109.2 kB / 1.455 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/1.4, allocations: 1.485 MB / 1.457 GB, free: 14.51 MB / 0.9167 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.0108/1.411, allocations: 6.379 MB / 1.463 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/1.413, allocations: 1.013 MB / 1.464 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008235/1.413, allocations: 0.5712 MB / 1.465 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002765/1.416, allocations: 2.231 MB / 1.467 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/1.416, allocations: 50.5 kB / 1.467 GB, free: 3.699 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=69): time 2.715e-06/1.416, allocations: 4 kB / 1.467 GB, free: 3.695 MB / 0.9167 GB Notification: Performance of matching and sorting (n=93): time 0.01282/1.429, allocations: 4.558 MB / 1.471 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/1.429, allocations: 203.6 kB / 1.471 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/1.43, allocations: 467.6 kB / 1.472 GB, free: 14.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.265e-05/1.43, allocations: 41.7 kB / 1.472 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/1.43, allocations: 382.8 kB / 1.472 GB, free: 13.97 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000307/1.431, allocations: 327.4 kB / 1.473 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/1.431, allocations: 28 kB / 1.473 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.431, allocations: 374.8 kB / 1.473 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/1.432, allocations: 0.6429 MB / 1.474 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/1.433, allocations: 0.9154 MB / 1.474 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/1.434, allocations: 0.7411 MB / 1.475 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.434, allocations: 7.938 kB / 1.475 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005578/1.44, allocations: 2.471 MB / 1.478 GB, free: 8.332 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001495/1.441, allocations: 3.134 MB / 1.481 GB, free: 4.953 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/1.441, allocations: 11.94 kB / 1.481 GB, free: 4.941 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003245/1.445, allocations: 0.9006 MB / 1.482 GB, free: 4.027 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/1.447, allocations: 467.2 kB / 1.482 GB, free: 3.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008695/1.456, allocations: 7.402 MB / 1.489 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/1.458, allocations: 307.5 kB / 1.49 GB, free: 11.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/1.458, allocations: 55.97 kB / 1.49 GB, free: 11.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/1.458, allocations: 4 kB / 1.49 GB, free: 11.38 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004595/1.463, allocations: 2.189 MB / 1.492 GB, free: 9.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/1.463, allocations: 8 kB / 1.492 GB, free: 9.172 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/1.465, allocations: 0.6115 MB / 1.492 GB, free: 8.551 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/1.467, allocations: 491.2 kB / 1.493 GB, free: 8.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007974/1.475, allocations: 6.667 MB / 1.499 GB, free: 1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/1.477, allocations: 303.4 kB / 1.5 GB, free: 0.7031 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/1.478, allocations: 59.97 kB / 1.5 GB, free: 0.6445 MB / 0.948 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.0003989/1.478, allocations: 160.7 kB / 1.5 GB, free: 492 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004747/1.478, allocations: 79.14 kB / 1.5 GB, free: 412 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005459/1.484, allocations: 2.271 MB / 1.502 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/1.484, allocations: 12 kB / 1.502 GB, free: 14.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/1.484, allocations: 4 kB / 1.502 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/1.484, allocations: 3.984 kB / 1.502 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007883/1.492, allocations: 4.218 MB / 1.506 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.492, allocations: 8 kB / 1.506 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/1.494, allocations: 363.9 kB / 1.507 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003057/1.497, allocations: 0.8656 MB / 1.507 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/1.497, allocations: 35.97 kB / 1.507 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/1.509, allocations: 8.587 MB / 1.516 GB, free: 15.33 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/1.509, allocations: 8 kB / 1.516 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00558/1.514, allocations: 2.697 MB / 1.519 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000818/1.515, allocations: 308.1 kB / 1.519 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/1.516, allocations: 27.98 kB / 1.519 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.518, allocations: 279.5 kB / 1.519 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/1.518, allocations: 91.78 kB / 1.519 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.518, allocations: 39.97 kB / 1.519 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005877/1.519, allocations: 361.5 kB / 1.52 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.41e-07/1.519, allocations: 0 / 1.52 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002642/1.521, allocations: 0.5195 MB / 1.52 GB, free: 10.77 MB / 0.9792 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.0003843/1.522, allocations: 155.3 kB / 1.52 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007351/1.529, allocations: 3.623 MB / 1.524 GB, free: 6.91 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/1.529, allocations: 4.125 kB / 1.524 GB, free: 6.906 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002428/1.532, allocations: 1.373 MB / 1.525 GB, free: 5.48 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009928/1.533, allocations: 107 kB / 1.525 GB, free: 5.375 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008762/1.541, allocations: 2.563 MB / 1.528 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009826/1.542, allocations: 1.048 MB / 1.529 GB, free: 1.645 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002324/1.545, allocations: 0.4991 MB / 1.529 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/1.545, allocations: 79.38 kB / 1.529 GB, free: 1.062 MB / 0.9792 GB Notification: Performance of SimCode: time 1.503e-06/1.545, allocations: 3.938 kB / 1.529 GB, free: 1.059 MB / 0.9792 GB Notification: Performance of Templates: time 0.03542/1.581, allocations: 19.29 MB / 1.548 GB, free: 13.8 MB / 1.01 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