Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.353/1.353, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 171.3 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008683/0.0008683, allocations: 91.78 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 9.031 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2346, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.004531/0.2392, allocations: 4.557 MB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004461/0.2437, allocations: 3.799 MB / 0.9083 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003558/0.2441, allocations: 15.88 kB / 0.9083 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.2443, allocations: 87.36 kB / 0.9084 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009558/0.2453, allocations: 450.6 kB / 0.9088 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009591/0.2462, allocations: 423 kB / 0.9092 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000575/0.2468, allocations: 0.6489 MB / 0.9099 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008984/0.2477, allocations: 0.6681 MB / 0.9105 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.2481, allocations: 334.8 kB / 0.9109 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.2485, allocations: 382.6 kB / 0.9112 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.958e-05/0.2486, allocations: 36 kB / 0.9113 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007451/0.2494, allocations: 459.3 kB / 0.9117 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.2496, allocations: 279.2 kB / 0.912 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2497, allocations: 157.3 kB / 0.9121 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00078/0.2505, allocations: 1.021 MB / 0.9131 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2505, allocations: 0 / 0.9131 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2505, allocations: 0 / 0.9131 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.2505, allocations: 0 / 0.9131 GB, free: 50.45 MB / 0.6042 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.001488/0.252, allocations: 1.019 MB / 0.9141 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2521, allocations: 8.031 kB / 0.9141 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.2522, allocations: 122.5 kB / 0.9142 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008739/0.2609, allocations: 1.746 MB / 0.9159 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.2621, allocations: 0.5992 MB / 0.9165 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.2621, allocations: 45.28 kB / 0.9166 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.2623, allocations: 55.98 kB / 0.9166 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00418/0.2665, allocations: 1.909 MB / 0.9185 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.2665, allocations: 0 / 0.9185 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.2666, allocations: 31.97 kB / 0.9185 GB, free: 44.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003009/0.2669, allocations: 161.3 kB / 0.9187 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006746/0.2737, allocations: 2.609 MB / 0.9212 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008232/0.2819, allocations: 6.653 MB / 0.9277 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/0.2849, allocations: 1.27 MB / 0.9289 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001876/0.2868, allocations: 1.483 MB / 0.9304 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.2868, allocations: 42.55 kB / 0.9304 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 2.405e-06/0.2868, allocations: 4 kB / 0.9304 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=107): time 0.02506/0.3119, allocations: 8.231 MB / 0.9385 GB, free: 23.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.312, allocations: 98 kB / 0.9386 GB, free: 23.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.3126, allocations: 0.5692 MB / 0.9391 GB, free: 23.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.3128, allocations: 45.7 kB / 0.9392 GB, free: 23.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.313, allocations: 419 kB / 0.9396 GB, free: 22.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.3132, allocations: 370.6 kB / 0.9399 GB, free: 22.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.153e-05/0.3133, allocations: 24 kB / 0.9399 GB, free: 22.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.3134, allocations: 394.7 kB / 0.9403 GB, free: 21.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002558/0.316, allocations: 1.103 MB / 0.9414 GB, free: 20.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002684/0.3187, allocations: 1.445 MB / 0.9428 GB, free: 19.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.3214, allocations: 1.222 MB / 0.944 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.3215, allocations: 4 kB / 0.944 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.009732/0.3312, allocations: 3.882 MB / 0.9478 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009395/0.3322, allocations: 4.014 MB / 0.9517 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.3322, allocations: 8 kB / 0.9517 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005004/0.3372, allocations: 1.384 MB / 0.9531 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/0.3393, allocations: 455.2 kB / 0.9535 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/0.3535, allocations: 11.56 MB / 0.9648 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/0.3559, allocations: 315.5 kB / 0.9651 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.3561, allocations: 63.97 kB / 0.9652 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3561, allocations: 6.5 kB / 0.9652 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01004/0.3661, allocations: 3.565 MB / 0.9686 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.3662, allocations: 8 kB / 0.9687 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003955/0.3702, allocations: 1.108 MB / 0.9697 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.3725, allocations: 479.2 kB / 0.9702 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/0.3864, allocations: 10.62 MB / 0.9806 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.3887, allocations: 303.6 kB / 0.9809 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.3888, allocations: 68.06 kB / 0.9809 GB, free: 10.65 MB / 0.6355 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.0006393/0.3895, allocations: 384.6 kB / 0.9813 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.3897, allocations: 86.95 kB / 0.9814 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/0.4002, allocations: 3.758 MB / 0.985 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.4003, allocations: 12 kB / 0.9851 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/0.4003, allocations: 11.95 kB / 0.9851 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.4003, allocations: 7.984 kB / 0.9851 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.4133, allocations: 5.486 MB / 0.9904 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.4134, allocations: 4 kB / 0.9904 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.415, allocations: 368.1 kB / 0.9908 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004498/0.4195, allocations: 1.241 MB / 0.992 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/0.4196, allocations: 31.98 kB / 0.992 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/0.4339, allocations: 11.09 MB / 1.003 GB, free: 3.453 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.4339, allocations: 7.938 kB / 1.003 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/0.4444, allocations: 3.942 MB / 1.007 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008439/0.4453, allocations: 335.9 kB / 1.007 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/0.4456, allocations: 31.98 kB / 1.007 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/0.4476, allocations: 311.5 kB / 1.007 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.4479, allocations: 104.1 kB / 1.007 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.448, allocations: 49 kB / 1.008 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000545/0.4486, allocations: 406.8 kB / 1.008 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4486, allocations: 0 / 1.008 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002396/0.451, allocations: 0.5898 MB / 1.008 GB, free: 13.44 MB / 0.6667 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.01093/0.4619, allocations: 6.103 MB / 1.014 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0143/0.4763, allocations: 5.704 MB / 1.02 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.4763, allocations: 0 / 1.02 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005233/0.4816, allocations: 2.131 MB / 1.022 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009298/0.4825, allocations: 134.8 kB / 1.022 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02923/0.5118, allocations: 17.36 MB / 1.039 GB, free: 13.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000802/0.5126, allocations: 1.125 MB / 1.04 GB, free: 12.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002211/0.5148, allocations: 0.5421 MB / 1.041 GB, free: 11.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006146/0.5155, allocations: 299.3 kB / 1.041 GB, free: 11.28 MB / 0.698 GB Notification: Performance of SimCode: time 1.323e-06/0.5155, allocations: 4 kB / 1.041 GB, free: 11.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4134/0.9289, allocations: 33.37 MB / 1.074 GB, free: 137 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/0.9291, allocations: 254.7 kB / 1.074 GB, free: 136.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/3.776, allocations: 3.125 kB / 1.074 GB, free: 136.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)