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.001572/0.001572, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00227/0.00227, allocations: 191.6 kB / 16.13 MB, free: 6.656 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.899/1.899, allocations: 205.1 MB / 222 MB, free: 4.953 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.799/1.799, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001302/0.001302, allocations: 64.16 kB / 0.6708 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2655, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.008197/0.2738, allocations: 5.386 MB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006754/0.2805, allocations: 4.159 MB / 0.792 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007121/0.2813, allocations: 15.88 kB / 0.792 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.2831, allocations: 0.5461 MB / 0.7926 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.285, allocations: 0.6186 MB / 0.7932 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.2866, allocations: 0.4999 MB / 0.7936 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.2884, allocations: 1.634 MB / 0.7952 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000901/0.2894, allocations: 417.4 kB / 0.7956 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008473/0.2902, allocations: 398.4 kB / 0.796 GB, free: 272 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.2914, allocations: 0.5488 MB / 0.7966 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002418/0.2916, allocations: 40 kB / 0.7966 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002159/0.2938, allocations: 1.014 MB / 0.7976 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005671/0.2944, allocations: 315.1 kB / 0.7979 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007992/0.2952, allocations: 397.9 kB / 0.7983 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.2979, allocations: 1.429 MB / 0.7997 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2979, allocations: 8 kB / 0.7997 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2979, allocations: 0 / 0.7997 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.2979, allocations: 4 kB / 0.7997 GB, free: 12.52 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.002347/0.3003, allocations: 1.145 MB / 0.8008 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.3003, allocations: 8.031 kB / 0.8008 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009203/0.3095, allocations: 1.696 MB / 0.8025 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.3107, allocations: 0.6156 MB / 0.8031 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.3107, allocations: 49.67 kB / 0.8031 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.3109, allocations: 56.34 kB / 0.8032 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00462/0.3155, allocations: 1.909 MB / 0.805 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.3155, allocations: 4 kB / 0.805 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.3157, allocations: 27.98 kB / 0.805 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003271/0.316, allocations: 161.3 kB / 0.8052 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007136/0.3232, allocations: 2.601 MB / 0.8077 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009273/0.3324, allocations: 6.653 MB / 0.8142 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.3356, allocations: 1.254 MB / 0.8155 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/0.3379, allocations: 0.8959 MB / 0.8163 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001995/0.3399, allocations: 1.487 MB / 0.8178 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3399, allocations: 42.56 kB / 0.8178 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 3.386e-06/0.34, allocations: 0 / 0.8178 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.02608/0.366, allocations: 8.108 MB / 0.8257 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.3662, allocations: 98.05 kB / 0.8258 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007851/0.367, allocations: 0.5807 MB / 0.8264 GB, free: 428 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.3671, allocations: 45.7 kB / 0.8265 GB, free: 376 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.3674, allocations: 411.1 kB / 0.8268 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/0.3678, allocations: 366.7 kB / 0.8272 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000456/0.3683, allocations: 266.6 kB / 0.8274 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3684, allocations: 386.8 kB / 0.8278 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/0.3712, allocations: 1.106 MB / 0.8289 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003023/0.3742, allocations: 1.445 MB / 0.8303 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005833/0.3801, allocations: 2.585 MB / 0.8328 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.3801, allocations: 8 kB / 0.8328 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01036/0.3904, allocations: 3.846 MB / 0.8366 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.3905, allocations: 9.312 kB / 0.8366 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.3905, allocations: 16 kB / 0.8366 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004863/0.3954, allocations: 1.318 MB / 0.8379 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/0.3973, allocations: 459.2 kB / 0.8383 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/0.4118, allocations: 11.18 MB / 0.8493 GB, free: 8.117 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.4139, allocations: 299.5 kB / 0.8495 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/0.4142, allocations: 63.97 kB / 0.8496 GB, free: 7.762 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003222/0.4174, allocations: 1.31 MB / 0.8509 GB, free: 6.445 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003019/0.4205, allocations: 1.429 MB / 0.8523 GB, free: 4.875 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005731/0.4262, allocations: 2.561 MB / 0.8548 GB, free: 2.176 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.166e-05/0.4262, allocations: 4 kB / 0.8548 GB, free: 2.172 MB / 0.67 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01023/0.4365, allocations: 3.62 MB / 0.8583 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.4365, allocations: 12.06 kB / 0.8583 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.4365, allocations: 15.94 kB / 0.8584 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004035/0.4406, allocations: 1.049 MB / 0.8594 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/0.4427, allocations: 471.2 kB / 0.8598 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/0.4591, allocations: 10.27 MB / 0.8699 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/0.4615, allocations: 304.1 kB / 0.8701 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000311/0.4619, allocations: 67.97 kB / 0.8702 GB, free: 1.805 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.0009173/0.4628, allocations: 254.7 kB / 0.8705 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005094/0.4633, allocations: 90.91 kB / 0.8705 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/0.4742, allocations: 3.723 MB / 0.8742 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.4742, allocations: 12 kB / 0.8742 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.606e-05/0.4743, allocations: 11.94 kB / 0.8742 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.4743, allocations: 3.984 kB / 0.8742 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.4876, allocations: 5.434 MB / 0.8795 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-05/0.4877, allocations: 8 kB / 0.8795 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/0.4893, allocations: 351.4 kB / 0.8799 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004447/0.4937, allocations: 1.201 MB / 0.881 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/0.4939, allocations: 31.98 kB / 0.8811 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/0.5084, allocations: 10.71 MB / 0.8915 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.5084, allocations: 11.94 kB / 0.8915 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.5188, allocations: 3.626 MB / 0.8951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008003/0.5196, allocations: 328 kB / 0.8954 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/0.52, allocations: 27.94 kB / 0.8954 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/0.522, allocations: 315.5 kB / 0.8957 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004669/0.5225, allocations: 104.1 kB / 0.8958 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.5227, allocations: 43.97 kB / 0.8958 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007132/0.5234, allocations: 406.8 kB / 0.8962 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5234, allocations: 3.938 kB / 0.8962 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003328/0.5268, allocations: 0.6015 MB / 0.8968 GB, free: 5.695 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.000529/0.5273, allocations: 143 kB / 0.897 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01552/0.5428, allocations: 5.68 MB / 0.9025 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.161e-05/0.5429, allocations: 0 / 0.9025 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005465/0.5484, allocations: 2.125 MB / 0.9046 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.5502, allocations: 146 kB / 0.9047 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.562, allocations: 3.868 MB / 0.9085 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.5632, allocations: 1.114 MB / 0.9096 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002483/0.5657, allocations: 0.5344 MB / 0.9101 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.5662, allocations: 87.31 kB / 0.9102 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of SimCode: time 1.673e-06/0.5662, allocations: 0 / 0.9102 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of Templates: time 0.4602/1.026, allocations: 26.75 MB / 0.9363 GB, free: 125.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (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)