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.001249/0.001249, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 194.2 kB / 16.64 MB, free: 6.453 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.674/1.674, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.836/1.836, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001486/0.001487, allocations: 71.19 kB / 0.6723 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2795, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.00978/0.2893, allocations: 5.369 MB / 0.7894 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008435/0.2978, allocations: 4.116 MB / 0.7934 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008963/0.2987, allocations: 19.88 kB / 0.7934 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.301, allocations: 0.5826 MB / 0.794 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.3033, allocations: 0.6571 MB / 0.7946 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.3053, allocations: 0.5611 MB / 0.7952 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002192/0.3075, allocations: 1.139 MB / 0.7963 GB, free: 244 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009783/0.3085, allocations: 437.6 kB / 0.7967 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00095/0.3095, allocations: 462.4 kB / 0.7971 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.3108, allocations: 0.5371 MB / 0.7977 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002673/0.311, allocations: 64 kB / 0.7977 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.3129, allocations: 0.8382 MB / 0.7985 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005311/0.3135, allocations: 331.1 kB / 0.7989 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007796/0.3143, allocations: 421.8 kB / 0.7993 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.317, allocations: 1.406 MB / 0.8006 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3171, allocations: 0 / 0.8006 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3171, allocations: 0 / 0.8006 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.37e-05/0.3171, allocations: 4 kB / 0.8006 GB, free: 11.76 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.002681/0.3198, allocations: 1.153 MB / 0.8018 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3199, allocations: 12.02 kB / 0.8018 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009749/0.3296, allocations: 1.692 MB / 0.8034 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.331, allocations: 0.6352 MB / 0.8041 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.331, allocations: 53.66 kB / 0.8041 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.3312, allocations: 64.34 kB / 0.8042 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005007/0.3362, allocations: 1.909 MB / 0.806 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.3362, allocations: 7.938 kB / 0.806 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.3364, allocations: 23.97 kB / 0.8061 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00038/0.3368, allocations: 153.4 kB / 0.8062 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007957/0.3447, allocations: 2.605 MB / 0.8088 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01103/0.3558, allocations: 6.645 MB / 0.8152 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00337/0.3592, allocations: 1.246 MB / 0.8165 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002609/0.3618, allocations: 0.9076 MB / 0.8173 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002257/0.3641, allocations: 1.487 MB / 0.8188 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.3642, allocations: 42.56 kB / 0.8188 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.434e-06/0.3642, allocations: 0 / 0.8188 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.02733/0.3915, allocations: 8.111 MB / 0.8268 GB, free: 348 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.3916, allocations: 90.11 kB / 0.8268 GB, free: 236 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008669/0.3925, allocations: 0.5769 MB / 0.8274 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002392/0.3928, allocations: 45.7 kB / 0.8275 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.3931, allocations: 419 kB / 0.8279 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004164/0.3935, allocations: 370.7 kB / 0.8282 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004718/0.394, allocations: 258.6 kB / 0.8285 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.3942, allocations: 390.8 kB / 0.8288 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/0.3972, allocations: 1.11 MB / 0.8299 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003289/0.4005, allocations: 1.448 MB / 0.8313 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006196/0.4067, allocations: 2.581 MB / 0.8338 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.4067, allocations: 0 / 0.8338 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01071/0.4175, allocations: 3.842 MB / 0.8376 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.4175, allocations: 12 kB / 0.8376 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.4175, allocations: 8 kB / 0.8376 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004952/0.4225, allocations: 1.33 MB / 0.8389 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.4246, allocations: 455.2 kB / 0.8393 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/0.4412, allocations: 12.13 MB / 0.8512 GB, free: 6.371 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.4435, allocations: 307.6 kB / 0.8515 GB, free: 6.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.4437, allocations: 59.97 kB / 0.8515 GB, free: 6.012 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003344/0.447, allocations: 1.31 MB / 0.8528 GB, free: 4.695 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003176/0.4502, allocations: 1.433 MB / 0.8542 GB, free: 3.117 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006068/0.4563, allocations: 2.553 MB / 0.8567 GB, free: 432 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.837e-06/0.4563, allocations: 4 kB / 0.8567 GB, free: 428 kB / 0.67 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01014/0.4665, allocations: 3.624 MB / 0.8603 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4665, allocations: 8 kB / 0.8603 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.4665, allocations: 12 kB / 0.8603 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003697/0.4702, allocations: 1.061 MB / 0.8613 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.4723, allocations: 463.2 kB / 0.8618 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/0.4863, allocations: 11.11 MB / 0.8726 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.4886, allocations: 299.6 kB / 0.8729 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.4887, allocations: 67.97 kB / 0.873 GB, free: 15.19 MB / 0.7012 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.0004229/0.4892, allocations: 252 kB / 0.8732 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.4894, allocations: 94.89 kB / 0.8733 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.5, allocations: 3.723 MB / 0.8769 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.5001, allocations: 8 kB / 0.8769 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.5001, allocations: 12 kB / 0.8769 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.5001, allocations: 3.984 kB / 0.8769 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.5129, allocations: 5.427 MB / 0.8822 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.513, allocations: 8 kB / 0.8822 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.5145, allocations: 351.4 kB / 0.8826 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004169/0.5187, allocations: 1.193 MB / 0.8837 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.5188, allocations: 39.97 kB / 0.8838 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01492/0.5338, allocations: 11.65 MB / 0.8952 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5338, allocations: 4 kB / 0.8952 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00978/0.5436, allocations: 3.642 MB / 0.8987 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/0.5443, allocations: 328 kB / 0.899 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.5445, allocations: 31.84 kB / 0.8991 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/0.5463, allocations: 315.5 kB / 0.8994 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/0.5466, allocations: 104.1 kB / 0.8995 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.5467, allocations: 43.97 kB / 0.8995 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004868/0.5472, allocations: 410.8 kB / 0.8999 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5472, allocations: 4 kB / 0.8999 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001996/0.5492, allocations: 0.5938 MB / 0.9005 GB, free: 2.109 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.0002474/0.5495, allocations: 135.1 kB / 0.9006 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01403/0.5635, allocations: 5.696 MB / 0.9062 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/0.5635, allocations: 0 / 0.9062 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005134/0.5687, allocations: 2.133 MB / 0.9083 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.5698, allocations: 161.4 kB / 0.9084 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.5803, allocations: 3.498 MB / 0.9118 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.5814, allocations: 1.114 MB / 0.9129 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001624/0.583, allocations: 0.5383 MB / 0.9134 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.5833, allocations: 75.39 kB / 0.9135 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.5833, allocations: 0 / 0.9135 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of Templates: time 0.4445/1.028, allocations: 27.78 MB / 0.9407 GB, free: 123.5 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)