Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.963/2.963, allocations: 287.3 MB / 302.3 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.00161, allocations: 198.4 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 100 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.000496, allocations: 11.69 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2436, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY): time 0.03189/0.2755, allocations: 15.07 MB / 0.993 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.2872, allocations: 5.678 MB / 0.9986 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.2885, allocations: 39.88 kB / 0.9986 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.2897, allocations: 342 kB / 0.9989 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.2925, allocations: 0.6152 MB / 0.9995 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.2953, allocations: 0.6293 MB / 1 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003453/0.2987, allocations: 1.801 MB / 1.002 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01317/0.312, allocations: 6.274 MB / 1.008 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.3147, allocations: 1.079 MB / 1.009 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003177/0.3179, allocations: 1.258 MB / 1.01 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008927/0.3188, allocations: 196 kB / 1.01 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.3213, allocations: 0.5892 MB / 1.011 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002723/0.3241, allocations: 1.341 MB / 1.012 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.3254, allocations: 0.5667 MB / 1.013 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.3357, allocations: 5.571 MB / 1.018 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3358, allocations: 0 / 1.018 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3358, allocations: 0 / 1.018 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001998/0.336, allocations: 4 kB / 1.018 GB, free: 3.07 MB / 0.6355 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.009568/0.3456, allocations: 2.487 MB / 1.021 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.3457, allocations: 12.02 kB / 1.021 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001835/0.3475, allocations: 462.6 kB / 1.021 GB, free: 48 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02068/0.3682, allocations: 2.095 MB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005391/0.3737, allocations: 1.627 MB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.374, allocations: 230.1 kB / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001363/0.3754, allocations: 292 kB / 1.025 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02205/0.3975, allocations: 5.884 MB / 1.031 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.523e-05/0.3976, allocations: 0 / 1.031 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007107/0.3984, allocations: 128 kB / 1.031 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005886/0.399, allocations: 204.9 kB / 1.031 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02717/0.4261, allocations: 5.947 MB / 1.037 GB, free: 15.49 MB / 0.6667 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.05605/0.4823, allocations: 23.04 MB / 1.06 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.4926, allocations: 2.554 MB / 1.062 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003381/0.4929, allocations: 125.9 kB / 1.062 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/0.493, allocations: 43.56 kB / 1.062 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=123): time 4.118e-06/0.493, allocations: 8 kB / 1.062 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123): time 0.6471/1.14, allocations: 5.133 MB / 1.067 GB, free: 83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.816e-05/1.14, allocations: 224 kB / 1.068 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/1.143, allocations: 1.066 MB / 1.069 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003985/1.143, allocations: 42.95 kB / 1.069 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/1.144, allocations: 1.257 MB / 1.07 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000828/1.145, allocations: 440.1 kB / 1.07 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/1.145, allocations: 41.59 kB / 1.07 GB, free: 81.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002741/1.146, allocations: 419.2 kB / 1.071 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008882/1.154, allocations: 1.645 MB / 1.072 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009363/1.164, allocations: 2.31 MB / 1.075 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009412/1.173, allocations: 1.937 MB / 1.077 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.208e-05/1.174, allocations: 6.25 kB / 1.077 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.0216/1.195, allocations: 4.41 MB / 1.081 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001816/1.197, allocations: 8.452 MB / 1.089 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.294e-05/1.197, allocations: 26.33 kB / 1.089 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/1.2, allocations: 425 kB / 1.09 GB, free: 68.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006739/1.207, allocations: 0.7612 MB / 1.09 GB, free: 68.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/1.217, allocations: 6.274 MB / 1.096 GB, free: 63.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00576/1.223, allocations: 0.5703 MB / 1.097 GB, free: 63.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005614/1.223, allocations: 108.5 kB / 1.097 GB, free: 63.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.223, allocations: 4.188 kB / 1.097 GB, free: 63.12 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02016/1.244, allocations: 4.26 MB / 1.101 GB, free: 61.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/1.244, allocations: 24.94 kB / 1.101 GB, free: 61.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/1.245, allocations: 318.5 kB / 1.102 GB, free: 61.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006662/1.252, allocations: 0.7661 MB / 1.102 GB, free: 61.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008286/1.26, allocations: 6.077 MB / 1.108 GB, free: 56.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005349/1.266, allocations: 0.5054 MB / 1.109 GB, free: 56.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006802/1.266, allocations: 109.3 kB / 1.109 GB, free: 56.68 MB / 0.6823 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 (231): * Single equations (assignments): 228 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003361/1.27, allocations: 1.293 MB / 1.11 GB, free: 56.04 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005825/1.27, allocations: 112.2 kB / 1.11 GB, free: 55.99 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01812/1.289, allocations: 3.747 MB / 1.114 GB, free: 54.53 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/1.289, allocations: 12.91 kB / 1.114 GB, free: 54.53 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.289, allocations: 9.266 kB / 1.114 GB, free: 54.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/1.289, allocations: 8.469 kB / 1.114 GB, free: 54.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02561/1.314, allocations: 6.963 MB / 1.121 GB, free: 50.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/1.314, allocations: 4.875 kB / 1.121 GB, free: 50.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005004/1.319, allocations: 0.5147 MB / 1.121 GB, free: 50.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/1.321, allocations: 330.1 kB / 1.122 GB, free: 49.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000366/1.322, allocations: 41.67 kB / 1.122 GB, free: 49.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009036/1.331, allocations: 6.156 MB / 1.128 GB, free: 44.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/1.331, allocations: 8.812 kB / 1.128 GB, free: 44.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/1.347, allocations: 3.819 MB / 1.131 GB, free: 42.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/1.349, allocations: 480.3 kB / 1.132 GB, free: 41.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000497/1.35, allocations: 25.72 kB / 1.132 GB, free: 41.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004716/1.354, allocations: 383.4 kB / 1.132 GB, free: 41.47 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004496/1.355, allocations: 90.16 kB / 1.132 GB, free: 41.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/1.355, allocations: 52.89 kB / 1.132 GB, free: 41.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0015/1.357, allocations: 0.7655 MB / 1.133 GB, free: 40.97 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.71e-07/1.357, allocations: 4 kB / 1.133 GB, free: 40.97 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006107/1.363, allocations: 1.461 MB / 1.134 GB, free: 40.56 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (96): * Single equations (assignments): 93 * 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%) 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.01647/1.379, allocations: 5.852 MB / 1.14 GB, free: 36 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02628/1.406, allocations: 6.535 MB / 1.147 GB, free: 29.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.406, allocations: 0 / 1.147 GB, free: 29.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.008755/1.414, allocations: 2.033 MB / 1.149 GB, free: 27.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/1.416, allocations: 151 kB / 1.149 GB, free: 27.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06928/1.485, allocations: 30.91 MB / 1.179 GB, free: 11.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004517/1.49, allocations: 2.289 MB / 1.181 GB, free: 9.219 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.007421/1.497, allocations: 1.275 MB / 1.182 GB, free: 7.938 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002638/1.5, allocations: 0.839 MB / 1.183 GB, free: 7.098 MB / 0.698 GB Notification: Performance of SimCode: time 1.342e-06/1.5, allocations: 0 / 1.183 GB, free: 7.098 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/1.611, allocations: 39.41 MB / 1.222 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003604/1.611, allocations: 250.3 kB / 1.222 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.647/5.258, allocations: 4 kB / 1.222 GB, free: 15.66 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1)