Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 103.6 kB / 16.52 MB, free: 6.727 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.001784/0.001784, allocations: 195.2 kB / 17.45 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7292/0.7292, allocations: 115.3 MB / 406.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.89 kB / 493.6 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3676, allocations: 76.17 MB / 0.5564 GB, free: 36.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.00639/0.374, allocations: 5.382 MB / 0.5616 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006082/0.3802, allocations: 4.128 MB / 0.5657 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005472/0.3807, allocations: 18.72 kB / 0.5657 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.3823, allocations: 0.5385 MB / 0.5662 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.3839, allocations: 0.616 MB / 0.5668 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.3855, allocations: 0.499 MB / 0.5673 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001988/0.3875, allocations: 1.626 MB / 0.5689 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008173/0.3884, allocations: 424.4 kB / 0.5693 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006385/0.389, allocations: 401 kB / 0.5697 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008567/0.3899, allocations: 0.5452 MB / 0.5702 GB, free: 28.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.39, allocations: 41.03 kB / 0.5702 GB, free: 28.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.3921, allocations: 1.009 MB / 0.5712 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004155/0.3926, allocations: 316 kB / 0.5715 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.393, allocations: 403.7 kB / 0.5719 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.3947, allocations: 1.068 MB / 0.573 GB, free: 27.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3947, allocations: 2.656 kB / 0.573 GB, free: 27.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3947, allocations: 0 / 0.573 GB, free: 27.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3947, allocations: 0 / 0.573 GB, free: 27.18 MB / 446.1 MB 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.002174/0.3969, allocations: 1.15 MB / 0.5741 GB, free: 26.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3969, allocations: 10.22 kB / 0.5741 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009773/0.4067, allocations: 1.692 MB / 0.5758 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.408, allocations: 0.6183 MB / 0.5764 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.4081, allocations: 45.42 kB / 0.5764 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.4083, allocations: 58.98 kB / 0.5765 GB, free: 25.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005031/0.4133, allocations: 1.91 MB / 0.5783 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.4134, allocations: 6.391 kB / 0.5783 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.4135, allocations: 30.81 kB / 0.5784 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003302/0.4138, allocations: 147.3 kB / 0.5785 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007707/0.4215, allocations: 2.606 MB / 0.581 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009202/0.4308, allocations: 6.662 MB / 0.5875 GB, free: 18.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.4338, allocations: 1.247 MB / 0.5888 GB, free: 17.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/0.4361, allocations: 0.9022 MB / 0.5896 GB, free: 17.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/0.4381, allocations: 1.485 MB / 0.5911 GB, free: 16.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4381, allocations: 46.38 kB / 0.5911 GB, free: 16.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=73): time 2.785e-06/0.4382, allocations: 1.125 kB / 0.5911 GB, free: 16.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=107): time 0.02453/0.4627, allocations: 8.096 MB / 0.599 GB, free: 8.465 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.4628, allocations: 94.05 kB / 0.5991 GB, free: 8.355 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006399/0.4634, allocations: 0.5847 MB / 0.5997 GB, free: 7.762 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.4635, allocations: 41.7 kB / 0.5997 GB, free: 7.715 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.4638, allocations: 419 kB / 0.6001 GB, free: 7.297 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.464, allocations: 366.7 kB / 0.6005 GB, free: 6.934 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004139/0.4644, allocations: 254.7 kB / 0.6007 GB, free: 6.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.4645, allocations: 394.7 kB / 0.6011 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/0.467, allocations: 1.106 MB / 0.6022 GB, free: 5.176 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/0.4696, allocations: 1.441 MB / 0.6036 GB, free: 3.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005016/0.4746, allocations: 2.585 MB / 0.6061 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.4746, allocations: 8 kB / 0.6061 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01135/0.486, allocations: 3.842 MB / 0.6099 GB, free: 12.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.4861, allocations: 8.531 kB / 0.6099 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.4861, allocations: 12 kB / 0.6099 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00537/0.4915, allocations: 1.336 MB / 0.6112 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/0.4936, allocations: 455.2 kB / 0.6116 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/0.5108, allocations: 11.19 MB / 0.6226 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.5132, allocations: 303.5 kB / 0.6229 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/0.5136, allocations: 63.97 kB / 0.6229 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003516/0.5171, allocations: 1.306 MB / 0.6242 GB, free: 13.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003144/0.5203, allocations: 1.433 MB / 0.6256 GB, free: 12.21 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005937/0.5262, allocations: 2.561 MB / 0.6281 GB, free: 9.512 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.337e-05/0.5263, allocations: 4 kB / 0.6281 GB, free: 9.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01022/0.5365, allocations: 3.616 MB / 0.6316 GB, free: 5.867 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.5365, allocations: 10.88 kB / 0.6316 GB, free: 5.859 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.5366, allocations: 19.94 kB / 0.6317 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003941/0.5405, allocations: 1.049 MB / 0.6327 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/0.5426, allocations: 467.2 kB / 0.6331 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/0.556, allocations: 10.27 MB / 0.6432 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.5583, allocations: 295.5 kB / 0.6434 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/0.5586, allocations: 72.03 kB / 0.6435 GB, free: 9.152 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000564/0.5592, allocations: 248 kB / 0.6437 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.5595, allocations: 86.98 kB / 0.6438 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.5703, allocations: 3.727 MB / 0.6475 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.5703, allocations: 8 kB / 0.6475 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.079e-05/0.5704, allocations: 12 kB / 0.6475 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.5704, allocations: 3.984 kB / 0.6475 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.5836, allocations: 5.449 MB / 0.6528 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.5837, allocations: 8 kB / 0.6528 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/0.5853, allocations: 351.4 kB / 0.6532 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004539/0.5899, allocations: 1.194 MB / 0.6543 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/0.5901, allocations: 43.95 kB / 0.6544 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/0.6047, allocations: 10.71 MB / 0.6648 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/0.6048, allocations: 11.94 kB / 0.6648 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/0.6154, allocations: 3.626 MB / 0.6684 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000829/0.6162, allocations: 331.9 kB / 0.6687 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/0.6166, allocations: 31.88 kB / 0.6687 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/0.6187, allocations: 315.5 kB / 0.669 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003774/0.6191, allocations: 104.1 kB / 0.6691 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/0.6192, allocations: 43.97 kB / 0.6692 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005985/0.6198, allocations: 402.8 kB / 0.6696 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6199, allocations: 4 kB / 0.6696 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002708/0.6226, allocations: 0.5977 MB / 0.6701 GB, free: 13.03 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000329/0.6229, allocations: 131.1 kB / 0.6703 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01492/0.6378, allocations: 5.684 MB / 0.6758 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/0.6379, allocations: 4.062 kB / 0.6758 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005532/0.6434, allocations: 2.106 MB / 0.6779 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.6451, allocations: 157.4 kB / 0.678 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.656, allocations: 3.962 MB / 0.6819 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009563/0.657, allocations: 1.11 MB / 0.683 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006511/0.6577, allocations: 99.34 kB / 0.6831 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.6577, allocations: 0 / 0.6831 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.03684/0.6945, allocations: 29.31 MB / 0.7117 GB, free: 2.191 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)