Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.498/2.498, allocations: 287.3 MB / 302.3 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 182.8 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.255/2.255, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 96.12 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004721, allocations: 10.78 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2024, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.006593/0.209, allocations: 4.542 MB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007192/0.2162, allocations: 3.784 MB / 0.9864 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006143/0.2169, allocations: 15.88 kB / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.2173, allocations: 91.36 kB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.219, allocations: 454.5 kB / 0.987 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.2206, allocations: 415 kB / 0.9874 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.2219, allocations: 0.6604 MB / 0.988 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.2234, allocations: 0.6616 MB / 0.9887 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006433/0.2241, allocations: 334.8 kB / 0.989 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000738/0.2248, allocations: 382.6 kB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.225, allocations: 40 kB / 0.9894 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.2263, allocations: 463.2 kB / 0.9898 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003746/0.2267, allocations: 279.2 kB / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.2269, allocations: 165.2 kB / 0.9902 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.2286, allocations: 1.009 MB / 0.9912 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2287, allocations: 0 / 0.9912 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2287, allocations: 0 / 0.9912 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.2287, allocations: 0 / 0.9912 GB, free: 14.94 MB / 0.6198 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.002539/0.2313, allocations: 1.017 MB / 0.9922 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.96e-05/0.2313, allocations: 8.031 kB / 0.9922 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/0.2316, allocations: 126.5 kB / 0.9924 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/0.2486, allocations: 1.746 MB / 0.9941 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.2502, allocations: 0.5953 MB / 0.9946 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.2503, allocations: 45.28 kB / 0.9947 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.2505, allocations: 59.98 kB / 0.9947 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007997/0.2585, allocations: 1.909 MB / 0.9966 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.626e-05/0.2586, allocations: 7.938 kB / 0.9966 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.2588, allocations: 27.97 kB / 0.9966 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00058/0.2594, allocations: 157.3 kB / 0.9968 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.2731, allocations: 2.616 MB / 0.9993 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/0.288, allocations: 6.653 MB / 1.006 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006145/0.2942, allocations: 1.262 MB / 1.007 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003722/0.298, allocations: 1.479 MB / 1.009 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.2981, allocations: 46.5 kB / 1.009 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 3.336e-06/0.2981, allocations: 0 / 1.009 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107): time 0.05286/0.351, allocations: 8.232 MB / 1.017 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.3511, allocations: 94.06 kB / 1.017 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.3522, allocations: 0.5769 MB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002911/0.3525, allocations: 41.7 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.353, allocations: 411.1 kB / 1.018 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005327/0.3535, allocations: 366.7 kB / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.3537, allocations: 28 kB / 1.018 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.3539, allocations: 390.8 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005731/0.3597, allocations: 1.107 MB / 1.02 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006119/0.3658, allocations: 1.445 MB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006019/0.3719, allocations: 1.222 MB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.3719, allocations: 0 / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.02121/0.3932, allocations: 3.893 MB / 1.026 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001958/0.3952, allocations: 4.006 MB / 1.03 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.881e-05/0.3952, allocations: 12 kB / 1.03 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/0.4055, allocations: 1.376 MB / 1.031 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004245/0.4098, allocations: 467.2 kB / 1.032 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02881/0.4386, allocations: 11.57 MB / 1.043 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/0.4427, allocations: 307.5 kB / 1.043 GB, free: 7.934 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/0.4431, allocations: 67.97 kB / 1.043 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4432, allocations: 4 kB / 1.043 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01898/0.4622, allocations: 3.565 MB / 1.047 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.466e-05/0.4622, allocations: 12 kB / 1.047 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007685/0.4699, allocations: 1.108 MB / 1.048 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004234/0.4742, allocations: 475.2 kB / 1.048 GB, free: 2.684 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02435/0.4986, allocations: 10.62 MB / 1.059 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/0.5025, allocations: 307.6 kB / 1.059 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003325/0.5029, allocations: 63.97 kB / 1.059 GB, free: 7.164 MB / 0.6823 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.001027/0.504, allocations: 386.5 kB / 1.059 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007933/0.5048, allocations: 82.97 kB / 1.059 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02071/0.5255, allocations: 3.762 MB / 1.063 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/0.5256, allocations: 15.98 kB / 1.063 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-05/0.5256, allocations: 7.953 kB / 1.063 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/0.5256, allocations: 3.984 kB / 1.063 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6353/1.161, allocations: 5.482 MB / 1.069 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/1.161, allocations: 6.016 kB / 1.069 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003299/1.164, allocations: 366 kB / 1.069 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008823/1.173, allocations: 1.241 MB / 1.07 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000302/1.174, allocations: 35.58 kB / 1.07 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02439/1.198, allocations: 11.08 MB / 1.081 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/1.198, allocations: 10.91 kB / 1.081 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01893/1.217, allocations: 3.934 MB / 1.085 GB, free: 75.45 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/1.218, allocations: 345.1 kB / 1.085 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003523/1.218, allocations: 26 kB / 1.085 GB, free: 75.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003906/1.222, allocations: 321.8 kB / 1.085 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006194/1.223, allocations: 103.5 kB / 1.086 GB, free: 75.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/1.223, allocations: 44.69 kB / 1.086 GB, free: 75.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008457/1.224, allocations: 399.8 kB / 1.086 GB, free: 75.03 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/1.224, allocations: 0.5 kB / 1.086 GB, free: 75.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003371/1.228, allocations: 0.5929 MB / 1.087 GB, free: 74.96 MB / 0.6823 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.01987/1.247, allocations: 6.113 MB / 1.093 GB, free: 71.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0259/1.273, allocations: 5.712 MB / 1.098 GB, free: 69.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.273, allocations: 1.375 kB / 1.098 GB, free: 69.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.009049/1.283, allocations: 2.124 MB / 1.1 GB, free: 68.31 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/1.284, allocations: 132.3 kB / 1.1 GB, free: 68.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05442/1.338, allocations: 17.36 MB / 1.117 GB, free: 56.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/1.34, allocations: 1.125 MB / 1.118 GB, free: 55.62 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.005384/1.345, allocations: 0.5424 MB / 1.119 GB, free: 55.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/1.347, allocations: 301.2 kB / 1.119 GB, free: 55.11 MB / 0.6823 GB Notification: Performance of SimCode: time 1.874e-06/1.347, allocations: 0 / 1.119 GB, free: 55.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/1.459, allocations: 33.38 MB / 1.152 GB, free: 28.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002994/1.459, allocations: 245.6 kB / 1.152 GB, free: 27.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.8/5.259, allocations: 0 / 1.152 GB, free: 27.84 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)