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.503/1.503, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.001451/0.001452, allocations: 179.7 kB / 325.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205 MB / 0.576 GB, free: 21 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.0008446/0.0008444, allocations: 91.08 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 8.969 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2404, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01354/0.254, allocations: 15.29 MB / 0.9111 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007999/0.262, allocations: 5.838 MB / 0.9168 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.2635, allocations: 35.88 kB / 0.9169 GB, free: 46.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.2664, allocations: 1.168 MB / 0.918 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.2688, allocations: 0.9304 MB / 0.9189 GB, free: 44.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.2713, allocations: 0.928 MB / 0.9198 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004627/0.276, allocations: 6.008 MB / 0.9257 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006715/0.2827, allocations: 5.669 MB / 0.9312 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.2847, allocations: 1.242 MB / 0.9325 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.2874, allocations: 1.795 MB / 0.9342 GB, free: 29.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007947/0.2882, allocations: 180 kB / 0.9344 GB, free: 28.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.2906, allocations: 1.041 MB / 0.9354 GB, free: 27.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001874/0.2925, allocations: 1.345 MB / 0.9367 GB, free: 26.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002847/0.2954, allocations: 1.283 MB / 0.938 GB, free: 25.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006493/0.3019, allocations: 5.701 MB / 0.9435 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.3019, allocations: 0 / 0.9435 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3019, allocations: 0 / 0.9435 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002221/0.3021, allocations: 0 / 0.9435 GB, free: 19.43 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.006462/0.3086, allocations: 2.29 MB / 0.9458 GB, free: 17.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.3087, allocations: 12.03 kB / 0.9458 GB, free: 17.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001554/0.3102, allocations: 428.7 kB / 0.9462 GB, free: 16.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009928/0.3202, allocations: 1.991 MB / 0.9481 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.3228, allocations: 1.53 MB / 0.9496 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/0.3229, allocations: 197.8 kB / 0.9498 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003919/0.3233, allocations: 264.4 kB / 0.9501 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009371/0.3327, allocations: 5.463 MB / 0.9554 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.938e-05/0.3327, allocations: 0 / 0.9554 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002955/0.333, allocations: 116 kB / 0.9555 GB, free: 6.949 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002632/0.3333, allocations: 208.4 kB / 0.9557 GB, free: 6.742 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.3471, allocations: 5.688 MB / 0.9613 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03259/0.3798, allocations: 21.27 MB / 0.982 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006096/0.3859, allocations: 3.009 MB / 0.985 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005234/0.3912, allocations: 2.106 MB / 0.987 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.3915, allocations: 122 kB / 0.9871 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/0.3915, allocations: 51.5 kB / 0.9872 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=139): time 3.427e-06/0.3916, allocations: 0 / 0.9872 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=181): time 0.041/0.4326, allocations: 12.96 MB / 0.9998 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.4327, allocations: 238.9 kB / 1 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.4342, allocations: 0.9765 MB / 1.001 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002571/0.4345, allocations: 57.7 kB / 1.001 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006469/0.4351, allocations: 1.1 MB / 1.002 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006552/0.4358, allocations: 0.6122 MB / 1.003 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003712/0.4362, allocations: 182.2 kB / 1.003 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4363, allocations: 337.9 kB / 1.003 GB, free: 3.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004737/0.4411, allocations: 1.917 MB / 1.005 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005187/0.4463, allocations: 2.505 MB / 1.008 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/0.4566, allocations: 4.462 MB / 1.012 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.721e-05/0.4567, allocations: 7.938 kB / 1.012 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01352/0.4702, allocations: 5.52 MB / 1.017 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006156/0.4709, allocations: 0.6056 MB / 1.018 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/0.4709, allocations: 16 kB / 1.018 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003454/0.4744, allocations: 1.219 MB / 1.019 GB, free: 2.816 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003326/0.4777, allocations: 0.7448 MB / 1.02 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0146/0.4924, allocations: 10.51 MB / 1.03 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/0.4958, allocations: 455.1 kB / 1.031 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005222/0.4964, allocations: 108 kB / 1.031 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4964, allocations: 4 kB / 1.031 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01393/0.5104, allocations: 5.34 MB / 1.036 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.529e-05/0.5105, allocations: 16 kB / 1.036 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/0.5131, allocations: 0.9544 MB / 1.037 GB, free: 416 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/0.5165, allocations: 0.7448 MB / 1.038 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/0.5306, allocations: 10.36 MB / 1.048 GB, free: 5.027 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00313/0.5338, allocations: 443.2 kB / 1.048 GB, free: 4.594 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004778/0.5343, allocations: 111.9 kB / 1.048 GB, free: 4.484 MB / 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 {(5,31,92.0%), (6,30,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002599/0.5369, allocations: 1.218 MB / 1.049 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006687/0.5375, allocations: 126.4 kB / 1.049 GB, free: 3.129 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5155/1.053, allocations: 5.212 MB / 1.055 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/1.053, allocations: 16.84 kB / 1.055 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/1.053, allocations: 11.97 kB / 1.055 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.941e-05/1.053, allocations: 14.39 kB / 1.055 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0214/1.075, allocations: 8.853 MB / 1.063 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/1.075, allocations: 8.281 kB / 1.063 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/1.077, allocations: 0.5394 MB / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003349/1.081, allocations: 0.97 MB / 1.065 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003446/1.081, allocations: 55.48 kB / 1.065 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/1.094, allocations: 9.978 MB / 1.075 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/1.094, allocations: 13.98 kB / 1.075 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/1.105, allocations: 4.842 MB / 1.079 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009719/1.106, allocations: 0.5027 MB / 1.08 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/1.106, allocations: 41.7 kB / 1.08 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002399/1.109, allocations: 397.3 kB / 1.08 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004823/1.109, allocations: 165.6 kB / 1.08 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/1.109, allocations: 69.33 kB / 1.08 GB, free: 134.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001213/1.11, allocations: 0.7214 MB / 1.081 GB, free: 134 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.01e-07/1.11, allocations: 0 / 1.081 GB, free: 134 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00552/1.116, allocations: 1.184 MB / 1.082 GB, free: 133.8 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.01087/1.127, allocations: 5.454 MB / 1.088 GB, free: 131 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01689/1.144, allocations: 8.156 MB / 1.096 GB, free: 125 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/1.144, allocations: 4.938 kB / 1.096 GB, free: 125 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005558/1.149, allocations: 2.665 MB / 1.098 GB, free: 122.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/1.152, allocations: 197.2 kB / 1.098 GB, free: 122.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05134/1.203, allocations: 27.05 MB / 1.125 GB, free: 93.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/1.205, allocations: 2.24 MB / 1.127 GB, free: 91.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003464/1.208, allocations: 1.28 MB / 1.128 GB, free: 90.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.209, allocations: 0.8116 MB / 1.129 GB, free: 89.55 MB / 0.698 GB Notification: Performance of SimCode: time 1.333e-06/1.209, allocations: 0 / 1.129 GB, free: 89.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06223/1.272, allocations: 51.17 MB / 1.179 GB, free: 38.71 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/1.272, allocations: 270.5 kB / 1.179 GB, free: 38.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.173/4.445, allocations: 0 / 1.179 GB, free: 38.35 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)