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.TransformerDD.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.TransformerDD,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",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.578/1.578, allocations: 252 MB / 267.3 MB, free: 10.85 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.0009679/0.0009678, allocations: 159.7 kB / 327 MB, free: 2.09 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.929/1.929, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0008279/0.000828, allocations: 75.89 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003815, allocations: 11.84 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2605, allocations: 106.3 MB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.0136/0.2742, allocations: 15.07 MB / 0.9156 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007975/0.2822, allocations: 5.772 MB / 0.9213 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.2834, allocations: 35.88 kB / 0.9213 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007042/0.2841, allocations: 274 kB / 0.9216 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.2863, allocations: 0.9343 MB / 0.9225 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.288, allocations: 0.7547 MB / 0.9232 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003936/0.292, allocations: 6.008 MB / 0.9291 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006743/0.2987, allocations: 6.255 MB / 0.9352 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.3007, allocations: 1.234 MB / 0.9364 GB, free: 26.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.3028, allocations: 1.815 MB / 0.9382 GB, free: 24.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003083/0.3031, allocations: 176 kB / 0.9383 GB, free: 24.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.3048, allocations: 1.041 MB / 0.9394 GB, free: 23.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.3059, allocations: 1.349 MB / 0.9407 GB, free: 22.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.3071, allocations: 1.304 MB / 0.9419 GB, free: 21.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004503/0.3116, allocations: 5.705 MB / 0.9475 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3117, allocations: 0 / 0.9475 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.875e-06/0.3117, allocations: 0 / 0.9475 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001029/0.3118, allocations: 0 / 0.9475 GB, free: 15.3 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.004406/0.3162, allocations: 2.294 MB / 0.9498 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3163, allocations: 8.031 kB / 0.9498 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004898/0.3168, allocations: 420.8 kB / 0.9502 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009978/0.3267, allocations: 1.999 MB / 0.9521 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.3297, allocations: 1.526 MB / 0.9536 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.3298, allocations: 209.8 kB / 0.9538 GB, free: 8.742 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004822/0.3303, allocations: 272.3 kB / 0.9541 GB, free: 8.477 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.3406, allocations: 5.447 MB / 0.9594 GB, free: 2.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.762e-05/0.3407, allocations: 7.938 kB / 0.9594 GB, free: 2.922 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002983/0.341, allocations: 112 kB / 0.9595 GB, free: 2.812 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002684/0.3413, allocations: 192.5 kB / 0.9597 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01314/0.3545, allocations: 5.696 MB / 0.9653 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02786/0.3823, allocations: 21.26 MB / 0.986 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007037/0.3894, allocations: 3.009 MB / 0.989 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005478/0.3949, allocations: 2.102 MB / 0.991 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.3952, allocations: 122 kB / 0.9911 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.3953, allocations: 59.5 kB / 0.9912 GB, free: 304 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=139): time 4.078e-06/0.3953, allocations: 0 / 0.9912 GB, free: 304 kB / 0.6355 GB Notification: Performance of matching and sorting (n=181): time 0.0398/0.4351, allocations: 12.96 MB / 1.004 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.4352, allocations: 226.9 kB / 1.004 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.4367, allocations: 0.9765 MB / 1.005 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002382/0.4369, allocations: 53.7 kB / 1.005 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007686/0.4377, allocations: 1.096 MB / 1.006 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006346/0.4383, allocations: 0.6161 MB / 1.007 GB, free: 244 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.4385, allocations: 48 kB / 1.007 GB, free: 196 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002418/0.4387, allocations: 435.3 kB / 1.007 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004744/0.4435, allocations: 1.917 MB / 1.009 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005036/0.4485, allocations: 2.509 MB / 1.012 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009806/0.4584, allocations: 4.458 MB / 1.016 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.066e-05/0.4584, allocations: 8 kB / 1.016 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.013/0.4714, allocations: 5.52 MB / 1.021 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004991/0.472, allocations: 0.6018 MB / 1.022 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.472, allocations: 24 kB / 1.022 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003311/0.4753, allocations: 1.223 MB / 1.023 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003478/0.4788, allocations: 0.7526 MB / 1.024 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/0.4928, allocations: 10.53 MB / 1.034 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/0.4963, allocations: 459.1 kB / 1.035 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003502/0.4966, allocations: 115.9 kB / 1.035 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4967, allocations: 4 kB / 1.035 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01295/0.5096, allocations: 5.341 MB / 1.04 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.491e-05/0.5097, allocations: 19.98 kB / 1.04 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002555/0.5123, allocations: 0.9582 MB / 1.041 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003331/0.5156, allocations: 0.737 MB / 1.042 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.5287, allocations: 10.35 MB / 1.052 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/0.532, allocations: 443.2 kB / 1.052 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003117/0.5324, allocations: 112 kB / 1.052 GB, free: 372 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,30,83.3%), (6,30,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.6178/1.15, allocations: 1.212 MB / 1.053 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007638/1.151, allocations: 125.7 kB / 1.053 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/1.164, allocations: 5.212 MB / 1.059 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/1.164, allocations: 21.61 kB / 1.059 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/1.164, allocations: 12 kB / 1.059 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.22e-05/1.164, allocations: 13.83 kB / 1.059 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.021/1.185, allocations: 8.853 MB / 1.067 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/1.185, allocations: 8.375 kB / 1.067 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002739/1.188, allocations: 0.5416 MB / 1.068 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002954/1.191, allocations: 0.9663 MB / 1.069 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002394/1.191, allocations: 58.31 kB / 1.069 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/1.204, allocations: 9.975 MB / 1.079 GB, free: 131.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/1.205, allocations: 15.81 kB / 1.079 GB, free: 131.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.215, allocations: 4.85 MB / 1.083 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.216, allocations: 0.533 MB / 1.084 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/1.217, allocations: 44.59 kB / 1.084 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002524/1.219, allocations: 398.5 kB / 1.084 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004254/1.219, allocations: 162.1 kB / 1.084 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/1.22, allocations: 71 kB / 1.084 GB, free: 129.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001167/1.221, allocations: 0.7215 MB / 1.085 GB, free: 129.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.221, allocations: 0 / 1.085 GB, free: 129.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005357/1.226, allocations: 1.189 MB / 1.086 GB, free: 129 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,32,100.0%), (7,29,63.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01034/1.237, allocations: 5.441 MB / 1.092 GB, free: 125.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0183/1.255, allocations: 8.151 MB / 1.1 GB, free: 118.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/1.255, allocations: 2 kB / 1.1 GB, free: 118.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006021/1.261, allocations: 2.677 MB / 1.102 GB, free: 116 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/1.263, allocations: 204.3 kB / 1.102 GB, free: 115.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05422/1.318, allocations: 27.07 MB / 1.129 GB, free: 87.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/1.319, allocations: 2.24 MB / 1.131 GB, free: 85.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003685/1.323, allocations: 1.285 MB / 1.132 GB, free: 84.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.324, allocations: 0.8116 MB / 1.133 GB, free: 83.23 MB / 0.698 GB Notification: Performance of SimCode: time 1.322e-06/1.324, allocations: 0 / 1.133 GB, free: 83.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06648/1.391, allocations: 51.18 MB / 1.183 GB, free: 32.39 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/1.391, allocations: 271 kB / 1.183 GB, free: 32.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.222/4.613, allocations: 5.812 kB / 1.183 GB, free: 32.02 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)