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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009352/0.0009354, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001317/0.001317, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 222.1 MB, free: 5.625 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.753/1.753, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005722/0.0005724, allocations: 15.62 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2618, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.00556/0.2674, allocations: 4.736 MB / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005688/0.2731, allocations: 3.857 MB / 0.7958 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/0.2736, allocations: 19.88 kB / 0.7958 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.2739, allocations: 95.19 kB / 0.7959 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.2751, allocations: 0.5055 MB / 0.7964 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.2763, allocations: 415 kB / 0.7968 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001468/0.2777, allocations: 1.322 MB / 0.7981 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.279, allocations: 0.6604 MB / 0.7987 GB, free: 164 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005432/0.2795, allocations: 394.5 kB / 0.7991 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007525/0.2803, allocations: 0.506 MB / 0.7996 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.2e-05/0.2804, allocations: 40 kB / 0.7997 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.2817, allocations: 495.3 kB / 0.8001 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.282, allocations: 299.2 kB / 0.8004 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.2822, allocations: 161.3 kB / 0.8006 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.2834, allocations: 1.029 MB / 0.8016 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2834, allocations: 0 / 0.8016 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2834, allocations: 0 / 0.8016 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.2834, allocations: 0 / 0.8016 GB, free: 13.25 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.001689/0.2851, allocations: 1.024 MB / 0.8026 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.2852, allocations: 8.031 kB / 0.8026 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.2853, allocations: 130.4 kB / 0.8027 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008204/0.2935, allocations: 1.692 MB / 0.8044 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.2946, allocations: 0.603 MB / 0.8049 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.2946, allocations: 45.3 kB / 0.805 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.2948, allocations: 55.98 kB / 0.805 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004162/0.299, allocations: 1.905 MB / 0.8069 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.299, allocations: 7.938 kB / 0.8069 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.2991, allocations: 35.95 kB / 0.8069 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003038/0.2994, allocations: 149.4 kB / 0.8071 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006817/0.3063, allocations: 2.62 MB / 0.8096 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009245/0.3155, allocations: 6.661 MB / 0.8161 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.3185, allocations: 1.262 MB / 0.8174 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/0.3207, allocations: 0.8992 MB / 0.8183 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002058/0.3228, allocations: 1.491 MB / 0.8197 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3228, allocations: 50.48 kB / 0.8198 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.114e-06/0.3228, allocations: 0 / 0.8198 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.02497/0.3478, allocations: 8.229 MB / 0.8278 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.3479, allocations: 94.06 kB / 0.8279 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008248/0.3487, allocations: 0.5769 MB / 0.8285 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.3489, allocations: 41.7 kB / 0.8285 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.3493, allocations: 411.1 kB / 0.8289 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/0.3496, allocations: 374.7 kB / 0.8292 GB, free: 172 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.3498, allocations: 27.94 kB / 0.8293 GB, free: 144 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.3499, allocations: 390.8 kB / 0.8296 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/0.3526, allocations: 1.107 MB / 0.8307 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002792/0.3554, allocations: 1.448 MB / 0.8321 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002733/0.3582, allocations: 1.222 MB / 0.8333 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.3582, allocations: 4 kB / 0.8333 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01007/0.3683, allocations: 3.889 MB / 0.8371 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003744/0.3687, allocations: 396.6 kB / 0.8375 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.3687, allocations: 8 kB / 0.8375 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004924/0.3736, allocations: 1.384 MB / 0.8389 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.3757, allocations: 463.2 kB / 0.8393 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/0.3911, allocations: 11.23 MB / 0.8503 GB, free: 9.762 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.3933, allocations: 311.6 kB / 0.8506 GB, free: 9.457 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.3935, allocations: 63.97 kB / 0.8506 GB, free: 9.395 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.3935, allocations: 4 kB / 0.8506 GB, free: 9.391 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008962/0.4025, allocations: 3.569 MB / 0.8541 GB, free: 5.809 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.4025, allocations: 8 kB / 0.8541 GB, free: 5.801 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003659/0.4062, allocations: 1.1 MB / 0.8552 GB, free: 4.688 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/0.4083, allocations: 475.2 kB / 0.8557 GB, free: 4.223 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/0.4216, allocations: 10.33 MB / 0.8657 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.4237, allocations: 307.6 kB / 0.866 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.4238, allocations: 64.08 kB / 0.8661 GB, free: 8.992 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006595/0.4245, allocations: 393.8 kB / 0.8665 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.4247, allocations: 82.97 kB / 0.8666 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.435, allocations: 3.766 MB / 0.8702 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.4351, allocations: 12 kB / 0.8702 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.4351, allocations: 4 kB / 0.8702 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.4351, allocations: 12.05 kB / 0.8703 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.4475, allocations: 5.474 MB / 0.8756 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.4475, allocations: 8.125 kB / 0.8756 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.449, allocations: 359.4 kB / 0.876 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00431/0.4533, allocations: 1.244 MB / 0.8772 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/0.4535, allocations: 39.97 kB / 0.8772 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/0.4673, allocations: 10.74 MB / 0.8877 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.4674, allocations: 4 kB / 0.8877 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00939/0.4768, allocations: 3.67 MB / 0.8913 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/0.4775, allocations: 343.8 kB / 0.8916 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.4776, allocations: 31.98 kB / 0.8916 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.4793, allocations: 315.5 kB / 0.8919 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/0.4796, allocations: 104.1 kB / 0.892 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.4797, allocations: 43.98 kB / 0.8921 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005027/0.4802, allocations: 402.8 kB / 0.8925 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4802, allocations: 0 / 0.8925 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002173/0.4824, allocations: 0.6015 MB / 0.8931 GB, free: 12.53 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00951/0.4919, allocations: 4.257 MB / 0.8972 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01762/0.5096, allocations: 5.712 MB / 0.9028 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/0.5097, allocations: 0 / 0.9028 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007727/0.5174, allocations: 2.112 MB / 0.9049 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.5191, allocations: 153.9 kB / 0.905 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03584/0.555, allocations: 10.58 MB / 0.9153 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.5561, allocations: 1.114 MB / 0.9164 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003023/0.5592, allocations: 0.5383 MB / 0.9169 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007067/0.5599, allocations: 295.3 kB / 0.9172 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of SimCode: time 1.272e-06/0.5599, allocations: 0 / 0.9172 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5558/1.116, allocations: 33.39 MB / 0.9498 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/1.116, allocations: 243.3 kB / 0.9501 GB, free: 118.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/3.882, allocations: 2.812 kB / 0.9501 GB, free: 118.5 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) Environment - environmentSimulation: