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.001595/0.001595, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001682/0.001682, allocations: 184 kB / 17.22 MB, free: 5.934 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.948/1.948, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.088/2.088, allocations: 292.3 MB / 0.5495 GB, free: 17.42 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.001649/0.001649, allocations: 66.88 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3018, allocations: 114.6 MB / 0.7841 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.5472/0.849, allocations: 5.35 MB / 0.7893 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006258/0.8554, allocations: 4.128 MB / 0.7933 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006237/0.856, allocations: 21.19 kB / 0.7934 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.8576, allocations: 0.5717 MB / 0.7939 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.8593, allocations: 0.662 MB / 0.7946 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.8609, allocations: 0.5505 MB / 0.7951 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.8622, allocations: 1.147 MB / 0.7962 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006506/0.8629, allocations: 442.9 kB / 0.7966 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005783/0.8634, allocations: 468.5 kB / 0.7971 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007434/0.8642, allocations: 0.5311 MB / 0.7976 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.8643, allocations: 62.34 kB / 0.7977 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.866, allocations: 0.829 MB / 0.7985 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003624/0.8664, allocations: 337.3 kB / 0.7988 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.8668, allocations: 430.8 kB / 0.7992 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.869, allocations: 1.397 MB / 0.8006 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.869, allocations: 2.094 kB / 0.8006 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.344e-06/0.869, allocations: 0 / 0.8006 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.869, allocations: 3.938 kB / 0.8006 GB, free: 43.08 MB / 0.6544 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.002393/0.8714, allocations: 1.152 MB / 0.8017 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.8715, allocations: 10.81 kB / 0.8017 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.8819, allocations: 1.7 MB / 0.8034 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.8837, allocations: 0.607 MB / 0.804 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.664e-05/0.8837, allocations: 49.17 kB / 0.804 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.884, allocations: 67.53 kB / 0.8041 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005856/0.8899, allocations: 1.904 MB / 0.8059 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.8899, allocations: 9.625 kB / 0.806 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.89, allocations: 24.8 kB / 0.806 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004614/0.8905, allocations: 148.9 kB / 0.8061 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008573/0.8991, allocations: 2.606 MB / 0.8087 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.9107, allocations: 6.637 MB / 0.8151 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/0.9144, allocations: 1.255 MB / 0.8164 GB, free: 35.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002641/0.9171, allocations: 0.903 MB / 0.8173 GB, free: 35.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002497/0.9196, allocations: 1.493 MB / 0.8187 GB, free: 34.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.9196, allocations: 38.36 kB / 0.8187 GB, free: 34.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 3.377e-06/0.9197, allocations: 0 / 0.8187 GB, free: 34.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=107): time 0.02967/0.9493, allocations: 8.1 MB / 0.8267 GB, free: 32.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.9494, allocations: 90.86 kB / 0.8267 GB, free: 32.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009216/0.9504, allocations: 0.5805 MB / 0.8273 GB, free: 32.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.9506, allocations: 45.83 kB / 0.8274 GB, free: 32.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.9508, allocations: 412 kB / 0.8277 GB, free: 31.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.9512, allocations: 373.4 kB / 0.8281 GB, free: 31.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005035/0.9517, allocations: 258.7 kB / 0.8284 GB, free: 31.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9519, allocations: 393.1 kB / 0.8287 GB, free: 31.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/0.9548, allocations: 1.106 MB / 0.8298 GB, free: 30.63 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/0.9579, allocations: 1.452 MB / 0.8312 GB, free: 29.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00587/0.9637, allocations: 2.581 MB / 0.8337 GB, free: 28.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.9638, allocations: 2.531 kB / 0.8337 GB, free: 28.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01059/0.9744, allocations: 3.843 MB / 0.8375 GB, free: 26.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.9744, allocations: 8.781 kB / 0.8375 GB, free: 26.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/0.9745, allocations: 11.03 kB / 0.8375 GB, free: 26.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005118/0.9796, allocations: 1.324 MB / 0.8388 GB, free: 25.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/0.9818, allocations: 456.8 kB / 0.8392 GB, free: 25.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01619/0.998, allocations: 12.14 MB / 0.8511 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/1.001, allocations: 303.9 kB / 0.8514 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003871/1.001, allocations: 61.09 kB / 0.8514 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003475/1.005, allocations: 1.308 MB / 0.8527 GB, free: 15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003093/1.008, allocations: 1.439 MB / 0.8541 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006197/1.014, allocations: 2.55 MB / 0.8566 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.084e-05/1.014, allocations: 3.219 kB / 0.8566 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01058/1.025, allocations: 3.62 MB / 0.8602 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/1.025, allocations: 14.19 kB / 0.8602 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/1.025, allocations: 9.188 kB / 0.8602 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003727/1.028, allocations: 1.055 MB / 0.8612 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/1.031, allocations: 476.1 kB / 0.8617 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/1.043, allocations: 11.1 MB / 0.8725 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/1.045, allocations: 299.5 kB / 0.8728 GB, free: 13.81 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003837/1.046, allocations: 65.72 kB / 0.8729 GB, free: 13.75 MB / 0.67 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.0007517/1.046, allocations: 260 kB / 0.8731 GB, free: 13.49 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/1.047, allocations: 86.91 kB / 0.8732 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/1.058, allocations: 3.718 MB / 0.8768 GB, free: 9.672 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/1.058, allocations: 12 kB / 0.8768 GB, free: 9.66 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.082e-05/1.058, allocations: 8 kB / 0.8768 GB, free: 9.652 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/1.058, allocations: 3.984 kB / 0.8768 GB, free: 9.648 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/1.072, allocations: 5.443 MB / 0.8822 GB, free: 4.059 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/1.072, allocations: 4 kB / 0.8822 GB, free: 4.055 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/1.074, allocations: 360.1 kB / 0.8825 GB, free: 3.703 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00445/1.078, allocations: 1.189 MB / 0.8837 GB, free: 2.504 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000252/1.079, allocations: 39.97 kB / 0.8837 GB, free: 2.465 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01587/1.095, allocations: 11.64 MB / 0.8951 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/1.095, allocations: 8 kB / 0.8951 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.105, allocations: 3.63 MB / 0.8986 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000925/1.106, allocations: 328 kB / 0.8989 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/1.106, allocations: 24 kB / 0.899 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/1.108, allocations: 317.2 kB / 0.8993 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004532/1.109, allocations: 108.1 kB / 0.8994 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/1.109, allocations: 43.97 kB / 0.8994 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006869/1.11, allocations: 406.8 kB / 0.8998 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.91e-07/1.11, allocations: 0 / 0.8998 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003324/1.113, allocations: 0.5977 MB / 0.9004 GB, free: 0.7148 MB / 0.6856 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.0004792/1.113, allocations: 143.6 kB / 0.9005 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01513/1.129, allocations: 5.7 MB / 0.9061 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/1.129, allocations: 0 / 0.9061 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005569/1.134, allocations: 2.121 MB / 0.9082 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.136, allocations: 171.3 kB / 0.9083 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/1.147, allocations: 3.514 MB / 0.9118 GB, free: 4.836 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/1.149, allocations: 1.102 MB / 0.9128 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001977/1.151, allocations: 0.5404 MB / 0.9134 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/1.151, allocations: 79.38 kB / 0.9134 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of SimCode: time 2.835e-06/1.151, allocations: 4 kB / 0.9134 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of Templates: time 0.05329/1.204, allocations: 27.79 MB / 0.9406 GB, free: 7.555 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)