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.001605/0.001605, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001655/0.001655, allocations: 198.8 kB / 16.26 MB, free: 6.625 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.867/1.867, allocations: 205.1 MB / 222.1 MB, free: 4.914 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.925/1.925, allocations: 292.2 MB / 0.5485 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.001468/0.001468, allocations: 62.09 kB / 0.671 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3526, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.007899/0.3605, allocations: 5.388 MB / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006974/0.3676, allocations: 4.089 MB / 0.7921 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007515/0.3684, allocations: 15.88 kB / 0.7921 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.3702, allocations: 0.5449 MB / 0.7927 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.3723, allocations: 0.6147 MB / 0.7933 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.3742, allocations: 0.4978 MB / 0.7938 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.3758, allocations: 1.154 MB / 0.7949 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008349/0.3767, allocations: 485.8 kB / 0.7953 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006986/0.3774, allocations: 470.3 kB / 0.7958 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008702/0.3782, allocations: 0.5527 MB / 0.7963 GB, free: 40 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.3784, allocations: 64.05 kB / 0.7964 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.3801, allocations: 0.8341 MB / 0.7972 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003372/0.3804, allocations: 331.1 kB / 0.7975 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.3809, allocations: 425.8 kB / 0.7979 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.3831, allocations: 1.452 MB / 0.7993 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3831, allocations: 4 kB / 0.7993 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3831, allocations: 4 kB / 0.7994 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.3831, allocations: 0 / 0.7994 GB, free: 12.93 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.002309/0.3855, allocations: 1.157 MB / 0.8005 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3855, allocations: 12.02 kB / 0.8005 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009751/0.3953, allocations: 1.689 MB / 0.8021 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.3967, allocations: 0.6195 MB / 0.8027 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.3967, allocations: 49.66 kB / 0.8028 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.3969, allocations: 56.36 kB / 0.8028 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005164/0.4021, allocations: 1.905 MB / 0.8047 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.4021, allocations: 4 kB / 0.8047 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.4023, allocations: 31.97 kB / 0.8047 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003185/0.4026, allocations: 149.4 kB / 0.8049 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007547/0.4101, allocations: 2.608 MB / 0.8074 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.4213, allocations: 6.653 MB / 0.8139 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/0.4247, allocations: 1.261 MB / 0.8152 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0024/0.4271, allocations: 0.8998 MB / 0.816 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002545/0.4297, allocations: 1.479 MB / 0.8175 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.4297, allocations: 38.56 kB / 0.8175 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 4.218e-06/0.4297, allocations: 0 / 0.8175 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.02762/0.4574, allocations: 8.104 MB / 0.8254 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.4575, allocations: 90.11 kB / 0.8255 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.4585, allocations: 0.5885 MB / 0.8261 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.4587, allocations: 45.64 kB / 0.8261 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.4591, allocations: 415.1 kB / 0.8265 GB, free: 380 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.4594, allocations: 362.7 kB / 0.8269 GB, free: 12 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005096/0.46, allocations: 266.6 kB / 0.8271 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.4602, allocations: 390.7 kB / 0.8275 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002912/0.4631, allocations: 1.106 MB / 0.8286 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/0.4664, allocations: 1.445 MB / 0.83 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006209/0.4726, allocations: 2.581 MB / 0.8325 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.4727, allocations: 12 kB / 0.8325 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01101/0.4837, allocations: 3.842 MB / 0.8363 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.4838, allocations: 8.531 kB / 0.8363 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/0.4838, allocations: 12 kB / 0.8363 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004991/0.4888, allocations: 1.334 MB / 0.8376 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/0.4909, allocations: 451.3 kB / 0.838 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/0.5076, allocations: 12.14 MB / 0.8499 GB, free: 7.547 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.5101, allocations: 299.5 kB / 0.8502 GB, free: 7.254 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.5103, allocations: 67.97 kB / 0.8502 GB, free: 7.188 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003236/0.5135, allocations: 1.307 MB / 0.8515 GB, free: 5.875 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003142/0.5167, allocations: 1.437 MB / 0.8529 GB, free: 4.297 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006005/0.5227, allocations: 2.557 MB / 0.8554 GB, free: 1.602 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.277e-05/0.5228, allocations: 4 kB / 0.8554 GB, free: 1.598 MB / 0.67 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01026/0.533, allocations: 3.613 MB / 0.859 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.5331, allocations: 15.98 kB / 0.859 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.5331, allocations: 8 kB / 0.859 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003879/0.537, allocations: 1.061 MB / 0.86 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/0.5392, allocations: 467.2 kB / 0.8605 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/0.5545, allocations: 11.11 MB / 0.8713 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/0.5571, allocations: 299.5 kB / 0.8716 GB, free: 444 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.5573, allocations: 67.95 kB / 0.8717 GB, free: 376 kB / 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.0006427/0.5579, allocations: 264 kB / 0.8719 GB, free: 104 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.5582, allocations: 90.91 kB / 0.872 GB, free: 12 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.5691, allocations: 3.715 MB / 0.8756 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.5691, allocations: 12 kB / 0.8756 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/0.5692, allocations: 4 kB / 0.8756 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.5692, allocations: 11.98 kB / 0.8757 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.5828, allocations: 5.442 MB / 0.881 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/0.5829, allocations: 8 kB / 0.881 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/0.5848, allocations: 351.4 kB / 0.8813 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004596/0.5894, allocations: 1.205 MB / 0.8825 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/0.5896, allocations: 35.97 kB / 0.8825 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0175/0.6072, allocations: 11.64 MB / 0.8939 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.6072, allocations: 11.94 kB / 0.8939 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.6176, allocations: 3.626 MB / 0.8974 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009651/0.6186, allocations: 335.9 kB / 0.8978 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003286/0.6189, allocations: 35.92 kB / 0.8978 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002058/0.621, allocations: 311.4 kB / 0.8981 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004635/0.6215, allocations: 108.1 kB / 0.8982 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/0.6217, allocations: 43.97 kB / 0.8982 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008012/0.6225, allocations: 402.8 kB / 0.8986 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.51e-07/0.6225, allocations: 480 / 0.8986 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003366/0.6259, allocations: 0.6055 MB / 0.8992 GB, free: 3.262 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.0004217/0.6263, allocations: 127.1 kB / 0.8993 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01558/0.6419, allocations: 5.809 MB / 0.905 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.253e-05/0.642, allocations: 4 kB / 0.905 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005718/0.6477, allocations: 2.121 MB / 0.9071 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.6492, allocations: 162.7 kB / 0.9072 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.6605, allocations: 3.862 MB / 0.911 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.6617, allocations: 1.114 MB / 0.9121 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00227/0.664, allocations: 0.5421 MB / 0.9126 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.6644, allocations: 79.38 kB / 0.9127 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/0.6644, allocations: 0 / 0.9127 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.6634/1.328, allocations: 27.86 MB / 0.9399 GB, free: 124.2 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)