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.001473/0.001473, allocations: 107.5 kB / 15.99 MB, free: 6.359 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.001593/0.001593, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.483/1.483, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.761/1.761, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.00142/0.00142, allocations: 65.36 kB / 0.6717 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.235, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.006623/0.2417, allocations: 5.392 MB / 0.7888 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006003/0.2477, allocations: 4.081 MB / 0.7928 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005897/0.2483, allocations: 23.81 kB / 0.7928 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.2498, allocations: 0.5449 MB / 0.7933 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.2514, allocations: 0.607 MB / 0.7939 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.2528, allocations: 0.5067 MB / 0.7944 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.2541, allocations: 1.146 MB / 0.7955 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007304/0.2549, allocations: 485.8 kB / 0.796 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005689/0.2555, allocations: 462.3 kB / 0.7964 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007087/0.2562, allocations: 0.5605 MB / 0.797 GB, free: 56 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.2563, allocations: 64.05 kB / 0.7971 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.2578, allocations: 0.8303 MB / 0.7979 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003101/0.2581, allocations: 339.1 kB / 0.7982 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.2585, allocations: 421.8 kB / 0.7986 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.2599, allocations: 1.083 MB / 0.7996 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2599, allocations: 0 / 0.7996 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2599, allocations: 0 / 0.7996 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.2599, allocations: 4 kB / 0.7996 GB, free: 13.32 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.002071/0.262, allocations: 1.141 MB / 0.8008 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2621, allocations: 16.02 kB / 0.8008 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009428/0.2715, allocations: 1.692 MB / 0.8024 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.2727, allocations: 0.6156 MB / 0.803 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.2728, allocations: 45.67 kB / 0.8031 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.273, allocations: 68.34 kB / 0.8031 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00476/0.2777, allocations: 1.909 MB / 0.805 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.2778, allocations: 4 kB / 0.805 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.2779, allocations: 19.98 kB / 0.805 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003307/0.2782, allocations: 153.4 kB / 0.8052 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007532/0.2858, allocations: 2.601 MB / 0.8077 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009972/0.2958, allocations: 6.661 MB / 0.8142 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003277/0.2991, allocations: 1.26 MB / 0.8155 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/0.3017, allocations: 0.8959 MB / 0.8163 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002292/0.304, allocations: 1.495 MB / 0.8178 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.304, allocations: 42.56 kB / 0.8178 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.505e-06/0.3041, allocations: 0 / 0.8178 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.02826/0.3323, allocations: 8.096 MB / 0.8257 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.3325, allocations: 90.11 kB / 0.8258 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.3336, allocations: 0.5769 MB / 0.8264 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002515/0.3338, allocations: 53.64 kB / 0.8264 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/0.3342, allocations: 419 kB / 0.8268 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005357/0.3348, allocations: 370.7 kB / 0.8272 GB, free: 404 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005976/0.3354, allocations: 258.6 kB / 0.8274 GB, free: 140 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.3356, allocations: 398.7 kB / 0.8278 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/0.3386, allocations: 1.103 MB / 0.8289 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003033/0.3416, allocations: 1.445 MB / 0.8303 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006048/0.3477, allocations: 2.581 MB / 0.8328 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/0.3477, allocations: 4 kB / 0.8328 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01109/0.3588, allocations: 3.846 MB / 0.8366 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.3589, allocations: 8 kB / 0.8366 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.3589, allocations: 12.53 kB / 0.8366 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005138/0.3641, allocations: 1.334 MB / 0.8379 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.3662, allocations: 451.3 kB / 0.8383 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/0.3823, allocations: 12.14 MB / 0.8502 GB, free: 7.938 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/0.3847, allocations: 303.5 kB / 0.8505 GB, free: 7.641 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/0.385, allocations: 63.97 kB / 0.8505 GB, free: 7.578 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003428/0.3885, allocations: 1.31 MB / 0.8518 GB, free: 6.262 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003169/0.3917, allocations: 1.437 MB / 0.8532 GB, free: 4.684 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006134/0.3978, allocations: 2.549 MB / 0.8557 GB, free: 1.996 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-05/0.3979, allocations: 3.984 kB / 0.8557 GB, free: 1.992 MB / 0.67 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01039/0.4083, allocations: 3.613 MB / 0.8592 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.4083, allocations: 14.5 kB / 0.8593 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.4084, allocations: 16.02 kB / 0.8593 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003868/0.4122, allocations: 1.057 MB / 0.8603 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.4144, allocations: 475.2 kB / 0.8608 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/0.4294, allocations: 11.12 MB / 0.8716 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/0.4323, allocations: 299.5 kB / 0.8719 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003491/0.4327, allocations: 59.97 kB / 0.872 GB, free: 0.7578 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.0006092/0.4333, allocations: 268.6 kB / 0.8722 GB, free: 500 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.4337, allocations: 86.91 kB / 0.8723 GB, free: 412 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.4449, allocations: 3.715 MB / 0.8759 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.445, allocations: 12 kB / 0.8759 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.957e-05/0.445, allocations: 4 kB / 0.8759 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.4451, allocations: 3.984 kB / 0.8759 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/0.4592, allocations: 5.442 MB / 0.8813 GB, free: 7.047 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.4592, allocations: 8.125 kB / 0.8813 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.4609, allocations: 351.4 kB / 0.8816 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004649/0.4655, allocations: 1.205 MB / 0.8828 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/0.4658, allocations: 39.97 kB / 0.8828 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/0.4819, allocations: 11.64 MB / 0.8942 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.4819, allocations: 7.938 kB / 0.8942 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/0.4922, allocations: 3.63 MB / 0.8977 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007058/0.4929, allocations: 336 kB / 0.8981 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.4932, allocations: 27.92 kB / 0.8981 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/0.4953, allocations: 315.4 kB / 0.8984 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004655/0.4958, allocations: 100.1 kB / 0.8985 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.496, allocations: 55.97 kB / 0.8985 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005913/0.4966, allocations: 402.8 kB / 0.8989 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4966, allocations: 0 / 0.8989 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002502/0.4991, allocations: 0.5977 MB / 0.8995 GB, free: 3.668 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.0003398/0.4995, allocations: 146.1 kB / 0.8996 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01528/0.5148, allocations: 5.801 MB / 0.9053 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/0.5148, allocations: 64 / 0.9053 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005432/0.5203, allocations: 2.129 MB / 0.9074 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.5218, allocations: 169.7 kB / 0.9075 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.533, allocations: 3.93 MB / 0.9114 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.5341, allocations: 1.11 MB / 0.9125 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006022/0.5348, allocations: 107.3 kB / 0.9126 GB, free: 6 MB / 0.7325 GB Notification: Performance of SimCode: time 8.51e-07/0.5348, allocations: 0 / 0.9126 GB, free: 6 MB / 0.7325 GB Notification: Performance of Templates: time 0.4086/0.9434, allocations: 29.33 MB / 0.9412 GB, free: 121.7 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)