Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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.ACACTransformerFull,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.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,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.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.437/2.437, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.00118/0.00118, allocations: 172.9 kB / 496.1 MB, free: 12.86 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.614/1.614, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0009085/0.0009085, allocations: 87.95 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.854e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.247, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9761/1.223, allocations: 192.3 MB / 1.407 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003619/1.224, allocations: 89.94 kB / 1.407 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1306/1.354, allocations: 49.68 MB / 1.455 GB, free: 344 kB / 0.9011 GB Notification: Performance of FrontEnd: time 2.024e-06/1.354, allocations: 0 / 1.455 GB, free: 344 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.179e-05/1.354, allocations: 23.98 kB / 1.455 GB, free: 320 kB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.003107/1.357, allocations: 0.9663 MB / 1.456 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.357, allocations: 12.03 kB / 1.456 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/1.368, allocations: 1.637 MB / 1.458 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/1.37, allocations: 0.6108 MB / 1.458 GB, free: 13 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/1.37, allocations: 49.28 kB / 1.458 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/1.37, allocations: 63.89 kB / 1.458 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/1.373, allocations: 1.425 MB / 1.46 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/1.373, allocations: 7.938 kB / 1.46 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/1.373, allocations: 27.94 kB / 1.46 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003552/1.373, allocations: 141.4 kB / 1.46 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/1.376, allocations: 1.63 MB / 1.462 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/1.386, allocations: 6.661 MB / 1.468 GB, free: 2.562 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/1.388, allocations: 0.9356 MB / 1.469 GB, free: 1.609 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008514/1.389, allocations: 0.5801 MB / 1.47 GB, free: 1.023 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002211/1.391, allocations: 1.486 MB / 1.471 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/1.391, allocations: 42.56 kB / 1.471 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 3.026e-06/1.391, allocations: 0 / 1.471 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of matching and sorting (n=107): time 0.01793/1.409, allocations: 5.653 MB / 1.477 GB, free: 9.742 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/1.409, allocations: 86.11 kB / 1.477 GB, free: 9.641 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007673/1.41, allocations: 0.5007 MB / 1.477 GB, free: 9.129 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/1.41, allocations: 45.7 kB / 1.477 GB, free: 9.078 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/1.41, allocations: 411.1 kB / 1.478 GB, free: 8.668 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/1.411, allocations: 366.7 kB / 1.478 GB, free: 8.305 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/1.411, allocations: 28 kB / 1.478 GB, free: 8.277 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.411, allocations: 386.8 kB / 1.478 GB, free: 7.891 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/1.412, allocations: 0.7522 MB / 1.479 GB, free: 7.137 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/1.414, allocations: 1.081 MB / 1.48 GB, free: 5.918 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/1.415, allocations: 0.873 MB / 1.481 GB, free: 5.043 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/1.415, allocations: 4 kB / 1.481 GB, free: 5.039 MB / 0.9323 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006591/1.422, allocations: 3.028 MB / 1.484 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001468/1.423, allocations: 3.919 MB / 1.488 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/1.423, allocations: 12 kB / 1.488 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004265/1.428, allocations: 1.182 MB / 1.489 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/1.43, allocations: 463.2 kB / 1.489 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.441, allocations: 8.996 MB / 1.498 GB, free: 2.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/1.444, allocations: 311.5 kB / 1.498 GB, free: 2.375 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003279/1.444, allocations: 63.97 kB / 1.498 GB, free: 2.312 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.444, allocations: 4 kB / 1.498 GB, free: 2.309 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006151/1.45, allocations: 2.727 MB / 1.501 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/1.45, allocations: 16.03 kB / 1.501 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003198/1.454, allocations: 0.9474 MB / 1.502 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/1.456, allocations: 479.2 kB / 1.503 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/1.468, allocations: 10.06 MB / 1.512 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/1.471, allocations: 307.5 kB / 1.513 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000458/1.471, allocations: 63.98 kB / 1.513 GB, free: 3.16 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008093/1.472, allocations: 185.9 kB / 1.513 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005015/1.473, allocations: 91.05 kB / 1.513 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008041/1.481, allocations: 2.931 MB / 1.516 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/1.481, allocations: 15.94 kB / 1.516 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/1.481, allocations: 4 kB / 1.516 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/1.481, allocations: 11.97 kB / 1.516 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009622/1.49, allocations: 4.667 MB / 1.52 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.491, allocations: 4 kB / 1.52 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/1.492, allocations: 364 kB / 1.521 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003893/1.496, allocations: 1.104 MB / 1.522 GB, free: 9.609 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/1.497, allocations: 35.97 kB / 1.522 GB, free: 9.574 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/1.51, allocations: 10.48 MB / 1.532 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-05/1.51, allocations: 16.03 kB / 1.532 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00633/1.516, allocations: 3.117 MB / 1.535 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008016/1.517, allocations: 347.9 kB / 1.536 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/1.517, allocations: 24 kB / 1.536 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/1.52, allocations: 311.5 kB / 1.536 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/1.52, allocations: 100.2 kB / 1.536 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/1.52, allocations: 51.92 kB / 1.536 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005597/1.521, allocations: 401.5 kB / 1.536 GB, free: 9.953 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.521, allocations: 0 / 1.536 GB, free: 9.953 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002348/1.523, allocations: 0.6093 MB / 1.537 GB, free: 9.344 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003548/1.523, allocations: 154.9 kB / 1.537 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.008208/1.531, allocations: 4.342 MB / 1.541 GB, free: 4.758 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.532, allocations: 4.125 kB / 1.541 GB, free: 4.754 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003086/1.535, allocations: 1.693 MB / 1.543 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009454/1.536, allocations: 135.8 kB / 1.543 GB, free: 2.875 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009167/1.545, allocations: 2.799 MB / 1.546 GB, free: 15.98 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009393/1.546, allocations: 1.119 MB / 1.547 GB, free: 14.83 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002353/1.548, allocations: 0.5538 MB / 1.548 GB, free: 14.27 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/1.548, allocations: 79.38 kB / 1.548 GB, free: 14.19 MB / 1.01 GB Notification: Performance of SimCode: time 9.82e-07/1.549, allocations: 0 / 1.548 GB, free: 14.19 MB / 1.01 GB Notification: Performance of Templates: time 0.03903/1.588, allocations: 25.27 MB / 1.572 GB, free: 5.043 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches