Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.565/1.565, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008868/0.0008868, allocations: 170.5 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007625/0.000763, allocations: 82.31 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 8.812 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2239, allocations: 106.4 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.005687/0.2297, allocations: 4.982 MB / 0.9063 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00583/0.2355, allocations: 4.113 MB / 0.9104 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006838/0.2362, allocations: 15.88 kB / 0.9104 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.2367, allocations: 99.23 kB / 0.9105 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.2386, allocations: 0.6186 MB / 0.9111 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.2401, allocations: 0.5006 MB / 0.9116 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.2415, allocations: 1.626 MB / 0.9131 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009789/0.2424, allocations: 0.7004 MB / 0.9138 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004476/0.2429, allocations: 402.3 kB / 0.9142 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005918/0.2435, allocations: 0.5215 MB / 0.9147 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.767e-05/0.2436, allocations: 40 kB / 0.9148 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.245, allocations: 1.006 MB / 0.9157 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.2453, allocations: 307.1 kB / 0.916 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.2456, allocations: 415.5 kB / 0.9164 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000868/0.2465, allocations: 1.056 MB / 0.9175 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2465, allocations: 0 / 0.9175 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2465, allocations: 0 / 0.9175 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.2465, allocations: 0 / 0.9175 GB, free: 46.98 MB / 0.6042 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.001572/0.2481, allocations: 1.005 MB / 0.9184 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2481, allocations: 8.031 kB / 0.9185 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008962/0.2571, allocations: 1.704 MB / 0.9201 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009972/0.2581, allocations: 0.6195 MB / 0.9207 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.2582, allocations: 49.66 kB / 0.9208 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.2583, allocations: 60.36 kB / 0.9208 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00427/0.2626, allocations: 1.917 MB / 0.9227 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.2626, allocations: 3.906 kB / 0.9227 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.2627, allocations: 27.97 kB / 0.9227 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000319/0.2631, allocations: 153.4 kB / 0.9229 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00697/0.2701, allocations: 2.616 MB / 0.9254 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007891/0.278, allocations: 6.65 MB / 0.9319 GB, free: 31.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.2809, allocations: 1.272 MB / 0.9332 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/0.2833, allocations: 0.9037 MB / 0.934 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/0.285, allocations: 1.487 MB / 0.9355 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.285, allocations: 46.56 kB / 0.9355 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/0.285, allocations: 0 / 0.9355 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=107): time 0.0253/0.3103, allocations: 8.254 MB / 0.9436 GB, free: 19.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3104, allocations: 98.05 kB / 0.9437 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/0.311, allocations: 0.5769 MB / 0.9443 GB, free: 18.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.722e-05/0.3111, allocations: 45.7 kB / 0.9443 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.3113, allocations: 411 kB / 0.9447 GB, free: 18.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.3115, allocations: 374.7 kB / 0.9451 GB, free: 17.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/0.3116, allocations: 28 kB / 0.9451 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.3117, allocations: 394.8 kB / 0.9455 GB, free: 17.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002554/0.3143, allocations: 1.107 MB / 0.9465 GB, free: 16.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002685/0.317, allocations: 1.456 MB / 0.948 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005366/0.3224, allocations: 2.604 MB / 0.9505 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.3224, allocations: 4 kB / 0.9505 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.009779/0.3322, allocations: 3.893 MB / 0.9543 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.3324, allocations: 404.1 kB / 0.9547 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.3325, allocations: 8 kB / 0.9547 GB, free: 7.652 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004949/0.3374, allocations: 1.38 MB / 0.9561 GB, free: 6.258 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.3394, allocations: 459.2 kB / 0.9565 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.3537, allocations: 11.24 MB / 0.9675 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/0.3562, allocations: 311.6 kB / 0.9678 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.3564, allocations: 67.97 kB / 0.9678 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3564, allocations: 4 kB / 0.9678 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01019/0.3666, allocations: 3.577 MB / 0.9713 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.3666, allocations: 8 kB / 0.9713 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003947/0.3706, allocations: 1.1 MB / 0.9724 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.3728, allocations: 483.1 kB / 0.9729 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.3864, allocations: 10.35 MB / 0.983 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.3887, allocations: 311.6 kB / 0.9833 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.3889, allocations: 59.97 kB / 0.9833 GB, free: 9.223 MB / 0.6355 GB 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.0006627/0.3896, allocations: 380.7 kB / 0.9837 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.3898, allocations: 83 kB / 0.9838 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.4007, allocations: 3.782 MB / 0.9875 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.4008, allocations: 8 kB / 0.9875 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/0.4008, allocations: 8 kB / 0.9875 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.4008, allocations: 8.062 kB / 0.9875 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.414, allocations: 5.49 MB / 0.9928 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.414, allocations: 4 kB / 0.9929 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.4157, allocations: 368.1 kB / 0.9932 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004637/0.4204, allocations: 1.248 MB / 0.9944 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/0.4205, allocations: 35.97 kB / 0.9945 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/0.4351, allocations: 10.75 MB / 1.005 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.4351, allocations: 4 kB / 1.005 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/0.4455, allocations: 3.681 MB / 1.009 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007551/0.4463, allocations: 335.9 kB / 1.009 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.4464, allocations: 27.98 kB / 1.009 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/0.4484, allocations: 319.5 kB / 1.009 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/0.4487, allocations: 104.1 kB / 1.009 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.4489, allocations: 47.97 kB / 1.009 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005312/0.4494, allocations: 406.8 kB / 1.01 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4494, allocations: 0 / 1.01 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002238/0.4517, allocations: 0.5977 MB / 1.01 GB, free: 12.72 MB / 0.6667 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.0002999/0.452, allocations: 143.1 kB / 1.01 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01479/0.4668, allocations: 5.711 MB / 1.016 GB, free: 6.758 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/0.4668, allocations: 4.062 kB / 1.016 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005419/0.4723, allocations: 2.129 MB / 1.018 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.4739, allocations: 158.1 kB / 1.018 GB, free: 4.426 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.4849, allocations: 3.978 MB / 1.022 GB, free: 352 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000914/0.4858, allocations: 1.11 MB / 1.023 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005198/0.4864, allocations: 103.3 kB / 1.023 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of SimCode: time 8.42e-07/0.4864, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.03497/0.5214, allocations: 29.32 MB / 1.052 GB, free: 1.758 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)