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.001488/0.001488, allocations: 108 kB / 15.61 MB, free: 152 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.002052/0.002052, allocations: 193 kB / 16.53 MB, free: 6.664 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.958/1.958, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.3 MB / 0.5489 GB, free: 12.86 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.001494/0.001495, allocations: 68.03 kB / 0.6715 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3293, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.008326/0.3377, allocations: 5.365 MB / 0.7886 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007348/0.3451, allocations: 4.112 MB / 0.7926 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007394/0.3459, allocations: 19.88 kB / 0.7926 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.3478, allocations: 0.5795 MB / 0.7932 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.3499, allocations: 0.6572 MB / 0.7939 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.352, allocations: 0.5658 MB / 0.7944 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002123/0.3541, allocations: 1.143 MB / 0.7955 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.3554, allocations: 437.8 kB / 0.7959 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.3566, allocations: 458.4 kB / 0.7964 GB, free: 108 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009367/0.3575, allocations: 0.541 MB / 0.7969 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.3577, allocations: 64 kB / 0.797 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.3597, allocations: 0.8382 MB / 0.7978 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004025/0.3601, allocations: 327.1 kB / 0.7981 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005559/0.3607, allocations: 421.8 kB / 0.7985 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.3629, allocations: 1.398 MB / 0.7999 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3629, allocations: 0 / 0.7999 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.016e-06/0.3629, allocations: 0 / 0.7999 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.363, allocations: 0 / 0.7999 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.002483/0.3654, allocations: 1.161 MB / 0.801 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.671e-05/0.3655, allocations: 8.031 kB / 0.801 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009779/0.3753, allocations: 1.696 MB / 0.8027 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.3766, allocations: 0.6079 MB / 0.8033 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/0.3767, allocations: 49.66 kB / 0.8033 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.3768, allocations: 60.36 kB / 0.8034 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004752/0.3816, allocations: 1.913 MB / 0.8052 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.3816, allocations: 3.938 kB / 0.8052 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.3818, allocations: 23.98 kB / 0.8053 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003405/0.3821, allocations: 153.4 kB / 0.8054 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007629/0.3898, allocations: 2.601 MB / 0.8079 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.3999, allocations: 6.657 MB / 0.8144 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/0.4033, allocations: 1.257 MB / 0.8157 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.4059, allocations: 0.8998 MB / 0.8166 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002255/0.4081, allocations: 1.487 MB / 0.818 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4082, allocations: 42.56 kB / 0.818 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 4.078e-06/0.4082, allocations: 4 kB / 0.818 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.02822/0.4364, allocations: 8.1 MB / 0.826 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.4366, allocations: 90.11 kB / 0.826 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000831/0.4374, allocations: 0.5769 MB / 0.8266 GB, free: 444 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.4376, allocations: 45.7 kB / 0.8267 GB, free: 392 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.4379, allocations: 415.2 kB / 0.827 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.4383, allocations: 374.7 kB / 0.8274 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004555/0.4387, allocations: 258.6 kB / 0.8277 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.4389, allocations: 390.8 kB / 0.828 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/0.442, allocations: 1.106 MB / 0.8291 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003209/0.4452, allocations: 1.445 MB / 0.8305 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006261/0.4515, allocations: 2.585 MB / 0.833 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.4515, allocations: 4 kB / 0.833 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01114/0.4627, allocations: 3.846 MB / 0.8368 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.4628, allocations: 8 kB / 0.8368 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/0.4628, allocations: 12 kB / 0.8368 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005008/0.4678, allocations: 1.33 MB / 0.8381 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/0.4702, allocations: 459.2 kB / 0.8386 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/0.4874, allocations: 12.13 MB / 0.8504 GB, free: 7.141 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/0.49, allocations: 311.6 kB / 0.8507 GB, free: 6.836 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.4902, allocations: 59.97 kB / 0.8508 GB, free: 6.777 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003404/0.4936, allocations: 1.311 MB / 0.852 GB, free: 5.461 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003174/0.4968, allocations: 1.433 MB / 0.8534 GB, free: 3.883 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006269/0.5031, allocations: 2.553 MB / 0.8559 GB, free: 1.188 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.035e-06/0.5031, allocations: 7.938 kB / 0.8559 GB, free: 1.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01108/0.5142, allocations: 3.616 MB / 0.8595 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.5143, allocations: 8 kB / 0.8595 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.5143, allocations: 12 kB / 0.8595 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003914/0.5182, allocations: 1.057 MB / 0.8605 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.5207, allocations: 475.2 kB / 0.861 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/0.5374, allocations: 11.11 MB / 0.8718 GB, free: 316 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/0.5402, allocations: 299.5 kB / 0.8721 GB, free: 16 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/0.5406, allocations: 63.97 kB / 0.8722 GB, free: 15.95 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.0006441/0.5412, allocations: 254.5 kB / 0.8724 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/0.5416, allocations: 94.84 kB / 0.8725 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/0.5524, allocations: 3.719 MB / 0.8761 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.5524, allocations: 12 kB / 0.8762 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.5525, allocations: 4 kB / 0.8762 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.5525, allocations: 3.984 kB / 0.8762 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.5656, allocations: 5.442 MB / 0.8815 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.5656, allocations: 4 kB / 0.8815 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/0.5673, allocations: 356.1 kB / 0.8818 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004339/0.5717, allocations: 1.202 MB / 0.883 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.5718, allocations: 35.97 kB / 0.883 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/0.5887, allocations: 11.66 MB / 0.8944 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.5887, allocations: 8.031 kB / 0.8944 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/0.5991, allocations: 3.646 MB / 0.898 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000721/0.5999, allocations: 332 kB / 0.8983 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.6001, allocations: 27.84 kB / 0.8983 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/0.602, allocations: 311.5 kB / 0.8986 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/0.6024, allocations: 104.1 kB / 0.8987 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.6025, allocations: 51.97 kB / 0.8988 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005397/0.6031, allocations: 402.8 kB / 0.8991 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.004e-06/0.6031, allocations: 0 / 0.8991 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002443/0.6056, allocations: 0.6054 MB / 0.8997 GB, free: 2.844 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.0003454/0.6059, allocations: 138.2 kB / 0.8999 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01589/0.6218, allocations: 5.801 MB / 0.9055 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/0.6219, allocations: 0 / 0.9055 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005515/0.6274, allocations: 2.121 MB / 0.9076 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.6288, allocations: 161.8 kB / 0.9078 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.6395, allocations: 3.523 MB / 0.9112 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008665/0.6404, allocations: 1.11 MB / 0.9123 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002058/0.6425, allocations: 0.5383 MB / 0.9128 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.6428, allocations: 79.38 kB / 0.9129 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of SimCode: time 8.62e-07/0.6428, allocations: 0 / 0.9129 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.5344/1.177, allocations: 27.78 MB / 0.94 GB, free: 124.1 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)