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.TransformerStepDownDY.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.TransformerStepDownDY,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",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.388/1.388, allocations: 252 MB / 267 MB, free: 10.96 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.001057/0.001057, allocations: 178.5 kB / 326.6 MB, free: 2.219 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.055/2.055, allocations: 205.4 MB / 0.5777 GB, free: 20.24 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.0008912/0.0008915, allocations: 97.72 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 9.625 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2729, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY): time 0.01355/0.2864, allocations: 15.39 MB / 0.9153 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008164/0.2946, allocations: 5.743 MB / 0.921 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.296, allocations: 43.88 kB / 0.921 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000817/0.2969, allocations: 309.8 kB / 0.9213 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.2991, allocations: 0.8093 MB / 0.9221 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.3009, allocations: 0.5956 MB / 0.9227 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003945/0.3048, allocations: 4.993 MB / 0.9275 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008277/0.3131, allocations: 6.283 MB / 0.9337 GB, free: 29.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/0.3161, allocations: 1.335 MB / 0.935 GB, free: 28.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.3193, allocations: 1.928 MB / 0.9369 GB, free: 26.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005081/0.3199, allocations: 200 kB / 0.937 GB, free: 26.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.322, allocations: 0.6009 MB / 0.9376 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.3236, allocations: 1.466 MB / 0.9391 GB, free: 23.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006857/0.3243, allocations: 0.5629 MB / 0.9396 GB, free: 23.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004738/0.329, allocations: 5.591 MB / 0.9451 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.329, allocations: 3.938 kB / 0.9451 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.447e-06/0.3291, allocations: 0 / 0.9451 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001857/0.3293, allocations: 0 / 0.9451 GB, free: 17.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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.005878/0.3351, allocations: 2.483 MB / 0.9475 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.3352, allocations: 12.03 kB / 0.9475 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008691/0.3361, allocations: 466.6 kB / 0.948 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.3461, allocations: 2.025 MB / 0.9499 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/0.3496, allocations: 1.631 MB / 0.9515 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.3498, allocations: 226.1 kB / 0.9517 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000714/0.3505, allocations: 296 kB / 0.952 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/0.3634, allocations: 5.9 MB / 0.9578 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.078e-05/0.3635, allocations: 0 / 0.9578 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003751/0.3639, allocations: 124 kB / 0.9579 GB, free: 4.434 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002953/0.3642, allocations: 205 kB / 0.9581 GB, free: 4.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/0.3804, allocations: 5.959 MB / 0.9639 GB, free: 14.26 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.03689/0.4173, allocations: 23.01 MB / 0.9864 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005479/0.4228, allocations: 2.503 MB / 0.9888 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004894/0.4278, allocations: 1.823 MB / 0.9906 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.4281, allocations: 118 kB / 0.9907 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/0.4282, allocations: 55.48 kB / 0.9908 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=123): time 4.959e-06/0.4282, allocations: 0 / 0.9908 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=153): time 0.03731/0.4655, allocations: 11.74 MB / 1.002 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.4656, allocations: 234.9 kB / 1.002 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.4673, allocations: 1.059 MB / 1.004 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002788/0.4676, allocations: 49.7 kB / 1.004 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000864/0.4685, allocations: 1.254 MB / 1.005 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005677/0.4691, allocations: 0.5354 MB / 1.005 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.4692, allocations: 44 kB / 1.005 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002305/0.4694, allocations: 423.2 kB / 1.006 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004524/0.474, allocations: 1.815 MB / 1.008 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005113/0.4791, allocations: 2.498 MB / 1.01 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004929/0.4841, allocations: 2.145 MB / 1.012 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/0.4841, allocations: 8 kB / 1.012 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01291/0.497, allocations: 5.181 MB / 1.017 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000675/0.4977, allocations: 0.7104 MB / 1.018 GB, free: 4.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/0.4978, allocations: 24 kB / 1.018 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002905/0.5007, allocations: 0.8754 MB / 1.019 GB, free: 3.184 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003707/0.5044, allocations: 0.7799 MB / 1.019 GB, free: 2.402 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/0.5193, allocations: 12.77 MB / 1.032 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/0.5229, allocations: 467 kB / 1.032 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005677/0.5235, allocations: 112 kB / 1.032 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.5235, allocations: 4 kB / 1.032 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01305/0.5366, allocations: 5.017 MB / 1.037 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-05/0.5367, allocations: 20.06 kB / 1.037 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.539, allocations: 0.7543 MB / 1.038 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003538/0.5426, allocations: 0.7722 MB / 1.039 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01464/0.5572, allocations: 12.61 MB / 1.051 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5327/1.09, allocations: 441.2 kB / 1.052 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004825/1.09, allocations: 112 kB / 1.052 GB, free: 134.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (240): * Single equations (assignments): 234 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003237/1.094, allocations: 1.331 MB / 1.053 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005845/1.094, allocations: 121.9 kB / 1.053 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/1.107, allocations: 4.596 MB / 1.058 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/1.107, allocations: 15.06 kB / 1.058 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/1.107, allocations: 8.906 kB / 1.058 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.103e-05/1.107, allocations: 10.81 kB / 1.058 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02138/1.128, allocations: 8.297 MB / 1.066 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/1.128, allocations: 11.06 kB / 1.066 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/1.131, allocations: 0.5323 MB / 1.066 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002423/1.133, allocations: 0.7052 MB / 1.067 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/1.133, allocations: 59.91 kB / 1.067 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/1.146, allocations: 12.25 MB / 1.079 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/1.146, allocations: 16.92 kB / 1.079 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/1.157, allocations: 4.283 MB / 1.083 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.158, allocations: 0.5023 MB / 1.084 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/1.158, allocations: 31.78 kB / 1.084 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.16, allocations: 395.8 kB / 1.084 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004112/1.161, allocations: 129.9 kB / 1.084 GB, free: 122.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/1.161, allocations: 69.62 kB / 1.084 GB, free: 122.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001176/1.162, allocations: 0.7639 MB / 1.085 GB, free: 122.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.162, allocations: 4 kB / 1.085 GB, free: 122.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004988/1.167, allocations: 1.156 MB / 1.086 GB, free: 122.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (107): * Single equations (assignments): 101 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01122/1.178, allocations: 4.879 MB / 1.091 GB, free: 120 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01651/1.195, allocations: 8.168 MB / 1.099 GB, free: 115.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/1.195, allocations: 0 / 1.099 GB, free: 115.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005563/1.201, allocations: 2.744 MB / 1.102 GB, free: 112.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/1.203, allocations: 189.4 kB / 1.102 GB, free: 112.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04177/1.244, allocations: 17.99 MB / 1.119 GB, free: 93.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/1.248, allocations: 2.329 MB / 1.122 GB, free: 91.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004342/1.252, allocations: 1.295 MB / 1.123 GB, free: 90.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/1.254, allocations: 0.8702 MB / 1.124 GB, free: 89.37 MB / 0.698 GB Notification: Performance of SimCode: time 1.011e-06/1.254, allocations: 0 / 1.124 GB, free: 89.37 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06777/1.321, allocations: 48.45 MB / 1.171 GB, free: 41.25 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/1.322, allocations: 264.9 kB / 1.171 GB, free: 40.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.11/4.432, allocations: 2.75 kB / 1.171 GB, free: 40.88 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1)