Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_9_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.001083/0.001083, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001279/0.001279, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6932/0.6935, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.004612/0.6982, allocations: 4.547 MB / 0.958 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005008/0.7032, allocations: 3.745 MB / 0.9617 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005207/0.7038, allocations: 16.25 kB / 0.9617 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.7041, allocations: 93.03 kB / 0.9618 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.7054, allocations: 456.1 kB / 0.9622 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.7065, allocations: 411.9 kB / 0.9626 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008746/0.7074, allocations: 0.6588 MB / 0.9633 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.7085, allocations: 0.6541 MB / 0.9639 GB, free: 92 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000493/0.709, allocations: 339.8 kB / 0.9642 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005512/0.7095, allocations: 386.6 kB / 0.9646 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.425e-05/0.7096, allocations: 35.41 kB / 0.9646 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.7106, allocations: 460.9 kB / 0.9651 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.7109, allocations: 274.8 kB / 0.9653 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.7111, allocations: 163.8 kB / 0.9655 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.7124, allocations: 1.016 MB / 0.9665 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.7125, allocations: 0 / 0.9665 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7125, allocations: 0 / 0.9665 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.7125, allocations: 1.156 kB / 0.9665 GB, free: 14.57 MB / 0.7325 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.001903/0.7144, allocations: 1.021 MB / 0.9675 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.7144, allocations: 9.031 kB / 0.9675 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.7146, allocations: 121.3 kB / 0.9676 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009596/0.7242, allocations: 1.737 MB / 0.9693 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.7257, allocations: 0.6028 MB / 0.9699 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/0.7257, allocations: 45.67 kB / 0.9699 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.7259, allocations: 58.27 kB / 0.97 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004863/0.7308, allocations: 1.911 MB / 0.9719 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.7308, allocations: 13.83 kB / 0.9719 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.731, allocations: 30.47 kB / 0.9719 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003798/0.7314, allocations: 147.4 kB / 0.972 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007656/0.739, allocations: 2.613 MB / 0.9746 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.7511, allocations: 6.653 MB / 0.9811 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.7544, allocations: 1.267 MB / 0.9823 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00263/0.757, allocations: 1.48 MB / 0.9838 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.7571, allocations: 46.5 kB / 0.9838 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 2.885e-06/0.7571, allocations: 0 / 0.9838 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of matching and sorting (n=107): time 0.02802/0.7852, allocations: 8.236 MB / 0.9919 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.7853, allocations: 90.11 kB / 0.9919 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007524/0.786, allocations: 0.5731 MB / 0.9925 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.7862, allocations: 45.7 kB / 0.9926 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.7865, allocations: 415 kB / 0.9929 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003721/0.7869, allocations: 378.6 kB / 0.9933 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.787, allocations: 24 kB / 0.9933 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.7872, allocations: 390.8 kB / 0.9937 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002993/0.7902, allocations: 1.107 MB / 0.9948 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003114/0.7933, allocations: 1.448 MB / 0.9962 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/0.7964, allocations: 1.218 MB / 0.9974 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.7964, allocations: 4 kB / 0.9974 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01087/0.8073, allocations: 3.878 MB / 1.001 GB, free: 14.47 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 0.001646/0.809, allocations: 4.018 MB / 1.005 GB, free: 10.14 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/0.809, allocations: 12 kB / 1.005 GB, free: 10.13 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005326/0.8144, allocations: 1.377 MB / 1.006 GB, free: 8.738 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.8165, allocations: 459.2 kB / 1.007 GB, free: 8.289 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/0.8326, allocations: 11.58 MB / 1.018 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/0.8351, allocations: 311.7 kB / 1.019 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003583/0.8355, allocations: 63.91 kB / 1.019 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.8355, allocations: 4 kB / 1.019 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0101/0.8456, allocations: 3.573 MB / 1.022 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/0.8457, allocations: 8 kB / 1.022 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003863/0.8495, allocations: 1.092 MB / 1.023 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.8516, allocations: 479.2 kB / 1.024 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/0.8648, allocations: 10.63 MB / 1.034 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/0.8671, allocations: 303.6 kB / 1.034 GB, free: 11.17 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/0.8673, allocations: 67.97 kB / 1.034 GB, free: 11.1 MB / 0.795 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.0006489/0.868, allocations: 376.8 kB / 1.035 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.8682, allocations: 87 kB / 1.035 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.879, allocations: 3.762 MB / 1.038 GB, free: 6.84 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.8791, allocations: 12 kB / 1.038 GB, free: 6.828 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/0.8791, allocations: 8 kB / 1.038 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.8791, allocations: 11.97 kB / 1.038 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.8927, allocations: 5.473 MB / 1.044 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/0.8927, allocations: 4 kB / 1.044 GB, free: 1.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/0.8944, allocations: 364.1 kB / 1.044 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004566/0.899, allocations: 1.248 MB / 1.045 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.8992, allocations: 39.97 kB / 1.045 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/0.913, allocations: 11.07 MB / 1.056 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.913, allocations: 8.047 kB / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009912/0.9229, allocations: 3.938 MB / 1.06 GB, free: 15.74 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008422/0.9238, allocations: 343.9 kB / 1.06 GB, free: 15.39 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/0.9241, allocations: 28 kB / 1.06 GB, free: 15.36 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/0.9261, allocations: 315.5 kB / 1.061 GB, free: 15.05 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/0.9264, allocations: 100.2 kB / 1.061 GB, free: 14.95 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.9265, allocations: 47.97 kB / 1.061 GB, free: 14.91 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.0005763/0.9271, allocations: 398.8 kB / 1.061 GB, free: 14.52 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9271, allocations: 96 / 1.061 GB, free: 14.52 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.002572/0.9297, allocations: 0.6015 MB / 1.062 GB, free: 13.92 MB / 0.8263 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.0112/0.9409, allocations: 6.103 MB / 1.068 GB, free: 7.613 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.01475/0.9557, allocations: 5.723 MB / 1.073 GB, free: 1.789 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.9557, allocations: 0 / 1.073 GB, free: 1.789 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.005153/0.9609, allocations: 2.116 MB / 1.075 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009624/0.9619, allocations: 134.9 kB / 1.076 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02867/0.9906, allocations: 17.36 MB / 1.093 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008359/0.9914, allocations: 1.129 MB / 1.094 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002022/0.9935, allocations: 0.5383 MB / 1.094 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/0.994, allocations: 295.3 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of SimCode: time 1.272e-06/0.994, allocations: 0 / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05727/1.051, allocations: 33.36 MB / 1.127 GB, free: 10.76 MB / 0.8888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/1.052, allocations: 242.8 kB / 1.127 GB, free: 10.52 MB / 0.8888 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/3.613, allocations: 2.344 kB / 1.127 GB, free: 10.52 MB / 0.8888 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat