Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",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.381/1.381, allocations: 251.9 MB / 266.9 MB, free: 11.08 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.001137/0.001137, allocations: 178.4 kB / 326.5 MB, free: 2.277 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.971/1.971, allocations: 205.4 MB / 0.5775 GB, free: 20.62 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.0009825/0.0009825, allocations: 90.19 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003839, allocations: 10.16 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2629, allocations: 106.3 MB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.01438/0.2774, allocations: 15.46 MB / 0.9153 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008435/0.2858, allocations: 5.869 MB / 0.921 GB, free: 43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.2873, allocations: 39.88 kB / 0.921 GB, free: 42.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008552/0.2881, allocations: 341.9 kB / 0.9214 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.2905, allocations: 0.6309 MB / 0.922 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.2927, allocations: 0.6891 MB / 0.9226 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00255/0.2953, allocations: 1.896 MB / 0.9245 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007174/0.3025, allocations: 5.935 MB / 0.9303 GB, free: 33.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.3045, allocations: 1.114 MB / 0.9314 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.3067, allocations: 1.281 MB / 0.9326 GB, free: 31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003708/0.307, allocations: 195.9 kB / 0.9328 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.3084, allocations: 0.5853 MB / 0.9334 GB, free: 30.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.3095, allocations: 1.345 MB / 0.9347 GB, free: 28.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007011/0.3102, allocations: 0.5706 MB / 0.9353 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004627/0.3149, allocations: 5.486 MB / 0.9406 GB, free: 22.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3149, allocations: 4 kB / 0.9406 GB, free: 22.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3149, allocations: 4 kB / 0.9406 GB, free: 22.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001986/0.3151, allocations: 3.938 kB / 0.9406 GB, free: 22.79 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.005949/0.3211, allocations: 2.505 MB / 0.9431 GB, free: 20.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3211, allocations: 12.03 kB / 0.9431 GB, free: 20.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00109/0.3222, allocations: 458.2 kB / 0.9435 GB, free: 19.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.3333, allocations: 2.263 MB / 0.9457 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004275/0.3376, allocations: 1.691 MB / 0.9474 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.3378, allocations: 221.8 kB / 0.9476 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006882/0.3385, allocations: 287.9 kB / 0.9479 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/0.3499, allocations: 5.864 MB / 0.9536 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.876e-05/0.35, allocations: 0 / 0.9536 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006395/0.3506, allocations: 124 kB / 0.9537 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004246/0.3511, allocations: 258 kB / 0.954 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/0.365, allocations: 6.069 MB / 0.9599 GB, free: 2.848 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03416/0.3992, allocations: 22.78 MB / 0.9821 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00601/0.4053, allocations: 2.61 MB / 0.9847 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.4056, allocations: 118 kB / 0.9848 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.823e-05/0.4057, allocations: 47.5 kB / 0.9848 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=122): time 3.527e-06/0.4057, allocations: 0 / 0.9848 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=125): time 0.02393/0.4297, allocations: 8.03 MB / 0.9927 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.4298, allocations: 64.41 kB / 0.9927 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.4318, allocations: 1.155 MB / 0.9939 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001868/0.432, allocations: 45.7 kB / 0.9939 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009204/0.4329, allocations: 1.266 MB / 0.9952 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004917/0.4334, allocations: 441.7 kB / 0.9956 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.4336, allocations: 40 kB / 0.9956 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002461/0.4338, allocations: 434.7 kB / 0.996 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004301/0.4381, allocations: 1.713 MB / 0.9977 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004762/0.4429, allocations: 2.405 MB / 1 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004737/0.4477, allocations: 2.008 MB / 1.002 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.319e-05/0.4477, allocations: 11.94 kB / 1.002 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01287/0.4606, allocations: 4.846 MB / 1.007 GB, free: 324 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.003909/0.4646, allocations: 8.874 MB / 1.015 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.984e-05/0.4646, allocations: 24 kB / 1.015 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002507/0.4672, allocations: 0.7166 MB / 1.016 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003432/0.4706, allocations: 0.7487 MB / 1.017 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/0.4859, allocations: 8.598 MB / 1.025 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004735/0.4907, allocations: 479.1 kB / 1.026 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005466/0.4913, allocations: 115.9 kB / 1.026 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4913, allocations: 4 kB / 1.026 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01672/0.5081, allocations: 4.682 MB / 1.03 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001096/0.5082, allocations: 24 kB / 1.03 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.5106, allocations: 0.6433 MB / 1.031 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004596/0.5152, allocations: 0.7448 MB / 1.032 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01397/0.5292, allocations: 8.374 MB / 1.04 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004383/0.5337, allocations: 459.2 kB / 1.04 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005586/0.5342, allocations: 108 kB / 1.041 GB, free: 12.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (220): * Single equations (assignments): 217 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003635/0.5379, allocations: 1.269 MB / 1.042 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007467/0.5387, allocations: 126.5 kB / 1.042 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/0.5542, allocations: 4.237 MB / 1.046 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.5542, allocations: 16 kB / 1.046 GB, free: 6.512 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.5543, allocations: 15.95 kB / 1.046 GB, free: 6.496 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.5543, allocations: 7.969 kB / 1.046 GB, free: 6.488 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4914/1.046, allocations: 7.324 MB / 1.053 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/1.046, allocations: 6.156 kB / 1.053 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/1.048, allocations: 0.4982 MB / 1.054 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/1.05, allocations: 0.6196 MB / 1.054 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/1.05, allocations: 42.72 kB / 1.054 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009517/1.06, allocations: 8.487 MB / 1.063 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.06, allocations: 3.625 kB / 1.063 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/1.071, allocations: 3.999 MB / 1.067 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.072, allocations: 487.6 kB / 1.067 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002484/1.072, allocations: 29.44 kB / 1.067 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/1.075, allocations: 417.9 kB / 1.067 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003503/1.075, allocations: 96.22 kB / 1.068 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.076, allocations: 53.75 kB / 1.068 GB, free: 132 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001407/1.077, allocations: 0.8125 MB / 1.068 GB, free: 131.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/1.077, allocations: 3.688 kB / 1.068 GB, free: 131.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004886/1.082, allocations: 1.069 MB / 1.069 GB, free: 131.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (89): * Single equations (assignments): 86 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0112/1.093, allocations: 5.633 MB / 1.075 GB, free: 129.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01695/1.11, allocations: 7.218 MB / 1.082 GB, free: 128.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.11, allocations: 4 kB / 1.082 GB, free: 128.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006166/1.116, allocations: 2.309 MB / 1.084 GB, free: 127.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/1.118, allocations: 186.5 kB / 1.084 GB, free: 127.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04743/1.165, allocations: 32.72 MB / 1.116 GB, free: 99.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002686/1.168, allocations: 2.287 MB / 1.119 GB, free: 97.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003606/1.172, allocations: 1.249 MB / 1.12 GB, free: 96.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/1.173, allocations: 0.8702 MB / 1.121 GB, free: 95.22 MB / 0.698 GB Notification: Performance of SimCode: time 2.946e-06/1.173, allocations: 0 / 1.121 GB, free: 95.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06198/1.235, allocations: 46.11 MB / 1.166 GB, free: 49.48 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/1.235, allocations: 247.3 kB / 1.166 GB, free: 49.15 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.012/4.247, allocations: 0 / 1.166 GB, free: 49.15 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)