Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.ACACTransformer,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",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.681/2.681, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001595/0.001595, allocations: 187.1 kB / 370.8 MB, free: 10.87 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.184/2.184, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001116/0.001116, allocations: 92.42 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004836, allocations: 15.16 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.21, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.006028/0.2161, allocations: 4.35 MB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006941/0.2231, allocations: 3.705 MB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005471/0.2237, allocations: 15.88 kB / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.224, allocations: 83.42 kB / 0.9862 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.226, allocations: 454.5 kB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.2275, allocations: 360.4 kB / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.2287, allocations: 0.5736 MB / 0.9876 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.2303, allocations: 0.633 MB / 0.9882 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006673/0.231, allocations: 298.9 kB / 0.9885 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006783/0.2317, allocations: 350.8 kB / 0.9888 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.2318, allocations: 28 kB / 0.9888 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.2331, allocations: 459.3 kB / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.2334, allocations: 251.3 kB / 0.9895 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.2337, allocations: 145.3 kB / 0.9897 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.2354, allocations: 0.9314 MB / 0.9906 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2354, allocations: 0 / 0.9906 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2354, allocations: 4 kB / 0.9906 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.2354, allocations: 4 kB / 0.9906 GB, free: 15.62 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002491/0.2379, allocations: 0.939 MB / 0.9915 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.238, allocations: 19.95 kB / 0.9915 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/0.2382, allocations: 118.5 kB / 0.9916 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.2547, allocations: 1.657 MB / 0.9932 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.2562, allocations: 0.5301 MB / 0.9938 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/0.2563, allocations: 45.3 kB / 0.9938 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002998/0.2566, allocations: 63.98 kB / 0.9939 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008011/0.2647, allocations: 1.821 MB / 0.9956 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.2648, allocations: 11.88 kB / 0.9957 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.265, allocations: 31.98 kB / 0.9957 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003666/0.2653, allocations: 105.5 kB / 0.9958 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/0.2786, allocations: 2.476 MB / 0.9982 GB, free: 7.629 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.2915, allocations: 6.361 MB / 1.004 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006166/0.2977, allocations: 1.368 MB / 1.006 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004377/0.3022, allocations: 2.151 MB / 1.008 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.3023, allocations: 54.48 kB / 1.008 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=69): time 6.031e-06/0.3023, allocations: 3.984 kB / 1.008 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=93): time 0.04758/0.3499, allocations: 6.627 MB / 1.014 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.35, allocations: 191.9 kB / 1.015 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.3511, allocations: 0.5134 MB / 1.015 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002246/0.3513, allocations: 41.7 kB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.3517, allocations: 390.7 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004468/0.3522, allocations: 323.3 kB / 1.016 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.3523, allocations: 23.94 kB / 1.016 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.3526, allocations: 382.8 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005331/0.3579, allocations: 0.9938 MB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005623/0.3636, allocations: 1.283 MB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005707/0.3693, allocations: 1.09 MB / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/0.3694, allocations: 4 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01828/0.3877, allocations: 3.33 MB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001572/0.3893, allocations: 3.235 MB / 1.026 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.3894, allocations: 12 kB / 1.026 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008172/0.3976, allocations: 1.088 MB / 1.027 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004071/0.4016, allocations: 463.2 kB / 1.027 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02439/0.4261, allocations: 9.435 MB / 1.037 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004883/0.431, allocations: 303.5 kB / 1.037 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/0.4313, allocations: 59.92 kB / 1.037 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4313, allocations: 8.062 kB / 1.037 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02219/0.4535, allocations: 3.012 MB / 1.04 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/0.4537, allocations: 8.25 kB / 1.04 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007445/0.4611, allocations: 0.7557 MB / 1.041 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005537/0.4667, allocations: 491.2 kB / 1.041 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/0.4878, allocations: 7.094 MB / 1.048 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004951/0.4928, allocations: 287.5 kB / 1.048 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007038/0.4936, allocations: 68.02 kB / 1.048 GB, free: 2.23 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001113/0.4947, allocations: 353.3 kB / 1.049 GB, free: 1.875 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005718/0.4953, allocations: 79.05 kB / 1.049 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01836/0.5137, allocations: 3.099 MB / 1.052 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.393e-05/0.5138, allocations: 15.98 kB / 1.052 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-05/0.5138, allocations: 4 kB / 1.052 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-05/0.5138, allocations: 3.984 kB / 1.052 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02243/0.5363, allocations: 5.022 MB / 1.057 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/0.5364, allocations: 8 kB / 1.057 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003364/0.5397, allocations: 372 kB / 1.057 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007449/0.5472, allocations: 1.003 MB / 1.058 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002683/0.5475, allocations: 35.97 kB / 1.058 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6287/1.176, allocations: 8.878 MB / 1.067 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-05/1.176, allocations: 10 kB / 1.067 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/1.194, allocations: 3.505 MB / 1.07 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009507/1.195, allocations: 314 kB / 1.071 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/1.195, allocations: 23.36 kB / 1.071 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003435/1.199, allocations: 293.7 kB / 1.071 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004251/1.199, allocations: 93.84 kB / 1.071 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.2, allocations: 38.61 kB / 1.071 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006929/1.2, allocations: 363.1 kB / 1.071 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/1.2, allocations: 0.75 kB / 1.071 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00281/1.203, allocations: 0.5068 MB / 1.072 GB, free: 81.64 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02163/1.225, allocations: 5.591 MB / 1.077 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02481/1.25, allocations: 4.958 MB / 1.082 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/1.25, allocations: 1.375 kB / 1.082 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006887/1.257, allocations: 1.743 MB / 1.084 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/1.258, allocations: 98.77 kB / 1.084 GB, free: 76.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04658/1.304, allocations: 14.62 MB / 1.098 GB, free: 67.59 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008641/1.305, allocations: 1.054 MB / 1.099 GB, free: 66.85 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003366/1.309, allocations: 0.4906 MB / 1.1 GB, free: 66.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008516/1.31, allocations: 271.7 kB / 1.1 GB, free: 66.54 MB / 0.6823 GB Notification: Performance of SimCode: time 1.703e-06/1.31, allocations: 0 / 1.1 GB, free: 66.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08126/1.391, allocations: 26.1 MB / 1.125 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/1.391, allocations: 244.6 kB / 1.126 GB, free: 54.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/4.807, allocations: 3.875 kB / 1.126 GB, free: 54.21 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1)