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.406/2.406, allocations: 390.5 MB / 398 MB, free: 10.94 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.00134/0.00134, allocations: 180.8 kB / 491.2 MB, free: 1.566 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.426/1.426, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0008944/0.0008943, allocations: 91.94 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.8e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2468, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9722/1.219, allocations: 188.4 MB / 1.396 GB, free: 12.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/1.22, allocations: 93.78 kB / 1.396 GB, free: 12.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1159/1.335, allocations: 48.26 MB / 1.443 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.963e-06/1.335, allocations: 4 kB / 1.444 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.807e-05/1.336, allocations: 20 kB / 1.444 GB, free: 3.352 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.002551/1.338, allocations: 0.9028 MB / 1.444 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/1.338, allocations: 8.031 kB / 1.444 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00959/1.348, allocations: 1.558 MB / 1.446 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/1.349, allocations: 0.5445 MB / 1.446 GB, free: 388 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/1.349, allocations: 20 kB / 1.446 GB, free: 368 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002928/1.349, allocations: 40 kB / 1.447 GB, free: 328 kB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002632/1.352, allocations: 1.229 MB / 1.448 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/1.354, allocations: 1.262 MB / 1.449 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/1.355, allocations: 4 kB / 1.449 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/1.355, allocations: 4 kB / 1.449 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/1.355, allocations: 100.1 kB / 1.449 GB, free: 14.32 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.009237/1.364, allocations: 6.27 MB / 1.455 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/1.366, allocations: 0.9862 MB / 1.456 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007255/1.366, allocations: 0.5361 MB / 1.457 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002655/1.369, allocations: 2.216 MB / 1.459 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/1.369, allocations: 52.38 kB / 1.459 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 2.585e-06/1.369, allocations: 0 / 1.459 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.008706/1.378, allocations: 3.619 MB / 1.462 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.378, allocations: 195.6 kB / 1.463 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/1.379, allocations: 439.6 kB / 1.463 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-05/1.379, allocations: 29.64 kB / 1.463 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/1.379, allocations: 378 kB / 1.463 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/1.379, allocations: 316.8 kB / 1.464 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.607e-05/1.379, allocations: 0 / 1.464 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.379, allocations: 378.8 kB / 1.464 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008301/1.38, allocations: 0.6159 MB / 1.465 GB, free: 404 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.381, allocations: 0.8924 MB / 1.466 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/1.383, allocations: 0.8459 MB / 1.466 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.383, allocations: 4 kB / 1.466 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005313/1.388, allocations: 2.421 MB / 1.469 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001215/1.39, allocations: 3.143 MB / 1.472 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/1.39, allocations: 11.94 kB / 1.472 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/1.392, allocations: 0.7242 MB / 1.473 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/1.395, allocations: 461.2 kB / 1.473 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008362/1.403, allocations: 7.163 MB / 1.48 GB, free: 2.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/1.405, allocations: 283.5 kB / 1.48 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003174/1.406, allocations: 66.58 kB / 1.48 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.406, allocations: 4 kB / 1.48 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003693/1.41, allocations: 1.732 MB / 1.482 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/1.41, allocations: 8 kB / 1.482 GB, free: 0.6953 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/1.41, allocations: 209.4 kB / 1.482 GB, free: 0.5234 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002279/1.412, allocations: 0.4978 MB / 1.483 GB, free: 36 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003858/1.416, allocations: 3.804 MB / 1.486 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/1.418, allocations: 267.5 kB / 1.487 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/1.419, allocations: 58.36 kB / 1.487 GB, free: 12.26 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.0004229/1.419, allocations: 128.6 kB / 1.487 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/1.419, allocations: 75.19 kB / 1.487 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005948/1.425, allocations: 2.295 MB / 1.489 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/1.425, allocations: 12 kB / 1.489 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/1.425, allocations: 4 kB / 1.489 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/1.425, allocations: 3.984 kB / 1.489 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008082/1.434, allocations: 4.141 MB / 1.493 GB, free: 6.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/1.434, allocations: 11.98 kB / 1.493 GB, free: 6.258 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.435, allocations: 359.3 kB / 1.494 GB, free: 5.906 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00298/1.438, allocations: 0.8541 MB / 1.494 GB, free: 5.039 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/1.438, allocations: 23.97 kB / 1.494 GB, free: 5.016 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009598/1.448, allocations: 8.215 MB / 1.502 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/1.448, allocations: 11.94 kB / 1.502 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005679/1.454, allocations: 2.724 MB / 1.505 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007611/1.455, allocations: 308.1 kB / 1.505 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/1.455, allocations: 8 kB / 1.505 GB, free: 9.039 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/1.457, allocations: 303.4 kB / 1.506 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/1.457, allocations: 87.78 kB / 1.506 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/1.457, allocations: 43.97 kB / 1.506 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004812/1.458, allocations: 326.9 kB / 1.506 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.81e-07/1.458, allocations: 0 / 1.506 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002351/1.46, allocations: 451.9 kB / 1.507 GB, free: 7.855 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.0002986/1.46, allocations: 131 kB / 1.507 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005356/1.466, allocations: 3.149 MB / 1.51 GB, free: 4.527 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.466, allocations: 0.6875 kB / 1.51 GB, free: 4.527 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/1.468, allocations: 1.335 MB / 1.511 GB, free: 3.152 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/1.469, allocations: 92.95 kB / 1.511 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007995/1.477, allocations: 2.502 MB / 1.514 GB, free: 476 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007154/1.477, allocations: 1.04 MB / 1.515 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002022/1.479, allocations: 0.5061 MB / 1.515 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/1.48, allocations: 79.31 kB / 1.515 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of SimCode: time 9.42e-07/1.48, allocations: 0 / 1.515 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of Templates: time 0.02957/1.509, allocations: 17.95 MB / 1.533 GB, free: 12.91 MB / 0.948 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