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 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.621/1.621, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 196.2 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008379/0.0008379, allocations: 94.88 kB / 0.7808 GB, free: 43.71 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004534, allocations: 12 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6035/0.604, allocations: 120.3 MB / 1.026 GB, free: 56.97 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.8041, allocations: 183.5 MB / 1.205 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.8044, allocations: 97.7 kB / 1.206 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.1188/0.9231, allocations: 49.74 MB / 1.254 GB, free: 4.508 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.096e-06/0.9232, allocations: 0 / 1.254 GB, free: 4.508 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.596e-05/0.9232, allocations: 23.94 kB / 1.254 GB, free: 4.484 MB / 0.823 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.002685/0.9259, allocations: 1.04 MB / 1.255 GB, free: 3.391 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.926, allocations: 8.031 kB / 1.255 GB, free: 3.383 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008816/0.9348, allocations: 1.638 MB / 1.257 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.9362, allocations: 0.6312 MB / 1.257 GB, free: 1.066 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.9363, allocations: 49.66 kB / 1.257 GB, free: 1.02 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.9365, allocations: 56.36 kB / 1.258 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004628/0.9411, allocations: 1.932 MB / 1.259 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.9412, allocations: 7.906 kB / 1.259 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.9413, allocations: 23.98 kB / 1.259 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003116/0.9416, allocations: 149.4 kB / 1.26 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007002/0.9487, allocations: 2.612 MB / 1.262 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009547/0.9582, allocations: 6.677 MB / 1.269 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.9611, allocations: 1.258 MB / 1.27 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/0.9634, allocations: 0.9031 MB / 1.271 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00199/0.9654, allocations: 1.485 MB / 1.272 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.9654, allocations: 46.44 kB / 1.272 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=73): time 2.505e-06/0.9654, allocations: 0 / 1.272 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of matching and sorting (n=107): time 0.02548/0.9909, allocations: 8.285 MB / 1.28 GB, free: 9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.991, allocations: 97.98 kB / 1.28 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008216/0.9919, allocations: 0.5692 MB / 1.281 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.992, allocations: 41.7 kB / 1.281 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.9923, allocations: 403.2 kB / 1.281 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/0.9927, allocations: 370.6 kB / 1.282 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.865e-05/0.9928, allocations: 28 kB / 1.282 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.993, allocations: 390.7 kB / 1.282 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002665/0.9957, allocations: 1.107 MB / 1.283 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002823/0.9985, allocations: 1.439 MB / 1.285 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005484/1.004, allocations: 2.592 MB / 1.287 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/1.004, allocations: 4 kB / 1.287 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.01004/1.014, allocations: 3.873 MB / 1.291 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002445/1.014, allocations: 395.7 kB / 1.291 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.014, allocations: 8 kB / 1.291 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004853/1.019, allocations: 1.392 MB / 1.293 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/1.021, allocations: 463.2 kB / 1.293 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/1.035, allocations: 11.24 MB / 1.304 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/1.037, allocations: 311.6 kB / 1.304 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/1.037, allocations: 67.91 kB / 1.305 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/1.037, allocations: 4 kB / 1.305 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008991/1.046, allocations: 3.557 MB / 1.308 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/1.046, allocations: 8 kB / 1.308 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00366/1.05, allocations: 1.104 MB / 1.309 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/1.052, allocations: 471.2 kB / 1.31 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4178/1.47, allocations: 10.34 MB / 1.32 GB, free: 200 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/1.472, allocations: 312.5 kB / 1.32 GB, free: 200 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003181/1.473, allocations: 60.78 kB / 1.32 GB, free: 200 MB / 0.8855 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 () * Number of clocked 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.0007637/1.473, allocations: 384.9 kB / 1.32 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/1.474, allocations: 85 kB / 1.32 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/1.485, allocations: 3.763 MB / 1.324 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/1.485, allocations: 12.23 kB / 1.324 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.92e-05/1.485, allocations: 9.531 kB / 1.324 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/1.485, allocations: 7.406 kB / 1.324 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/1.498, allocations: 5.487 MB / 1.329 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.498, allocations: 6.094 kB / 1.329 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/1.499, allocations: 361.5 kB / 1.33 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00427/1.503, allocations: 1.241 MB / 1.331 GB, free: 199 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/1.504, allocations: 43.92 kB / 1.331 GB, free: 199 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/1.516, allocations: 10.74 MB / 1.342 GB, free: 194 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/1.516, allocations: 9.781 kB / 1.342 GB, free: 194 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00855/1.524, allocations: 3.668 MB / 1.345 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006539/1.525, allocations: 347.2 kB / 1.346 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.525, allocations: 25.25 kB / 1.346 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.527, allocations: 325.7 kB / 1.346 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/1.527, allocations: 102.9 kB / 1.346 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.394e-05/1.527, allocations: 50.72 kB / 1.346 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004116/1.527, allocations: 400 kB / 1.346 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.527, allocations: 0 / 1.346 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001961/1.529, allocations: 0.6284 MB / 1.347 GB, free: 193.3 MB / 0.8855 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 () * Number of clocked 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.0002495/1.53, allocations: 153.3 kB / 1.347 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0116/1.541, allocations: 5.712 MB / 1.353 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.541, allocations: 2.812 kB / 1.353 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004322/1.546, allocations: 2.12 MB / 1.355 GB, free: 190.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.547, allocations: 147.4 kB / 1.355 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008333/1.555, allocations: 3.81 MB / 1.359 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/1.556, allocations: 1.109 MB / 1.36 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00197/1.558, allocations: 0.5437 MB / 1.36 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/1.558, allocations: 80.11 kB / 1.36 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.232e-06/1.558, allocations: 0 / 1.36 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.0375/1.596, allocations: 25.99 MB / 1.386 GB, free: 187.2 MB / 0.8855 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 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)