Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.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.0009657/0.0009652, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008248/0.008249, allocations: 172.2 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.884/1.884, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006164/0.0006162, allocations: 19.75 kB / 0.6743 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3477, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.008513/0.3563, allocations: 4.987 MB / 0.7928 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007801/0.3642, allocations: 4.101 MB / 0.7968 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007015/0.3649, allocations: 15.88 kB / 0.7968 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.3653, allocations: 95.23 kB / 0.7969 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.3672, allocations: 0.6187 MB / 0.7975 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.3691, allocations: 0.4989 MB / 0.798 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002109/0.3712, allocations: 1.626 MB / 0.7995 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.3729, allocations: 0.7123 MB / 0.8002 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007722/0.3737, allocations: 390.5 kB / 0.8006 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008764/0.3746, allocations: 0.5215 MB / 0.8011 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.798e-05/0.3747, allocations: 36 kB / 0.8012 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.377, allocations: 1.006 MB / 0.8021 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.3774, allocations: 307.1 kB / 0.8024 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004624/0.3779, allocations: 407.5 kB / 0.8028 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.3801, allocations: 1.421 MB / 0.8042 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3801, allocations: 0 / 0.8042 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.875e-06/0.3801, allocations: 0 / 0.8042 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.3802, allocations: 0 / 0.8042 GB, free: 10.74 MB / 0.6231 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.002169/0.3823, allocations: 1.013 MB / 0.8052 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.3824, allocations: 15.97 kB / 0.8052 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009857/0.3923, allocations: 1.696 MB / 0.8069 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.394, allocations: 0.6195 MB / 0.8075 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.394, allocations: 45.67 kB / 0.8075 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.3942, allocations: 52.36 kB / 0.8076 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005285/0.3995, allocations: 1.921 MB / 0.8094 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.3996, allocations: 0 / 0.8094 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.3997, allocations: 31.97 kB / 0.8095 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003567/0.4001, allocations: 153.4 kB / 0.8096 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008215/0.4083, allocations: 2.62 MB / 0.8122 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.4201, allocations: 6.665 MB / 0.8187 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/0.4238, allocations: 1.269 MB / 0.8199 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002747/0.4266, allocations: 0.9076 MB / 0.8208 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002828/0.4294, allocations: 1.479 MB / 0.8223 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.48e-05/0.4295, allocations: 46.5 kB / 0.8223 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 4.278e-06/0.4296, allocations: 4 kB / 0.8223 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.02993/0.4595, allocations: 8.249 MB / 0.8304 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.4597, allocations: 86.11 kB / 0.8304 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.4607, allocations: 0.5885 MB / 0.831 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002167/0.461, allocations: 41.7 kB / 0.8311 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.4613, allocations: 407.1 kB / 0.8314 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/0.4618, allocations: 378.6 kB / 0.8318 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.462, allocations: 105.7 kB / 0.8319 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002559/0.4622, allocations: 394.7 kB / 0.8323 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003234/0.4655, allocations: 1.119 MB / 0.8334 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00348/0.469, allocations: 1.448 MB / 0.8348 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006616/0.4756, allocations: 2.612 MB / 0.8373 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.4757, allocations: 4 kB / 0.8373 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01195/0.4876, allocations: 3.889 MB / 0.8411 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005605/0.4882, allocations: 404.5 kB / 0.8415 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/0.4883, allocations: 12 kB / 0.8415 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005909/0.4942, allocations: 1.38 MB / 0.8429 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/0.4967, allocations: 455.3 kB / 0.8433 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/0.5151, allocations: 11.25 MB / 0.8543 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.5178, allocations: 311.6 kB / 0.8546 GB, free: 5.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/0.5181, allocations: 63.97 kB / 0.8547 GB, free: 5.324 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.5181, allocations: 7.984 kB / 0.8547 GB, free: 5.316 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0109/0.529, allocations: 3.577 MB / 0.8582 GB, free: 1.723 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.013e-05/0.5291, allocations: 16.03 kB / 0.8582 GB, free: 1.707 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004395/0.5335, allocations: 1.1 MB / 0.8593 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/0.536, allocations: 475.1 kB / 0.8597 GB, free: 132 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/0.5524, allocations: 10.34 MB / 0.8698 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/0.5552, allocations: 303.5 kB / 0.8701 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/0.5555, allocations: 68.03 kB / 0.8702 GB, free: 4.887 MB / 0.6856 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.000957/0.5564, allocations: 380.7 kB / 0.8705 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004666/0.5569, allocations: 86.91 kB / 0.8706 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/0.5691, allocations: 3.774 MB / 0.8743 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.401e-05/0.5692, allocations: 12 kB / 0.8743 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.419e-05/0.5692, allocations: 4.094 kB / 0.8743 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.742e-05/0.5693, allocations: 7.969 kB / 0.8743 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/0.5846, allocations: 5.489 MB / 0.8797 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/0.5847, allocations: 8 kB / 0.8797 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/0.5865, allocations: 360 kB / 0.88 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005012/0.5916, allocations: 1.248 MB / 0.8812 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002862/0.5919, allocations: 35.98 kB / 0.8813 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01774/0.6096, allocations: 10.75 MB / 0.8918 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/0.6097, allocations: 8 kB / 0.8918 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/0.6221, allocations: 3.685 MB / 0.8954 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009492/0.6231, allocations: 343.8 kB / 0.8957 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.6233, allocations: 20 kB / 0.8957 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/0.6253, allocations: 323.5 kB / 0.896 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004203/0.6257, allocations: 108.1 kB / 0.8961 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.6258, allocations: 43.97 kB / 0.8962 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005677/0.6264, allocations: 406.8 kB / 0.8966 GB, free: 8.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6264, allocations: 0 / 0.8966 GB, free: 8.988 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002532/0.6289, allocations: 0.6015 MB / 0.8972 GB, free: 8.387 MB / 0.7169 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.0003525/0.6293, allocations: 131.1 kB / 0.8973 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01566/0.645, allocations: 5.731 MB / 0.9029 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.311e-05/0.6451, allocations: 4 kB / 0.9029 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006356/0.6514, allocations: 2.114 MB / 0.905 GB, free: 248 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.6534, allocations: 163.3 kB / 0.9051 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.6649, allocations: 3.892 MB / 0.9089 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.666, allocations: 1.11 MB / 0.91 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002119/0.6681, allocations: 0.5383 MB / 0.9105 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.6684, allocations: 83.38 kB / 0.9106 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/0.6684, allocations: 0 / 0.9106 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.611/1.279, allocations: 26.49 MB / 0.9365 GB, free: 124.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) Environment - environmentSimulation: