Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.TransformerStepUpYD,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",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.719/2.719, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.002025/0.002025, allocations: 177.1 kB / 370.8 MB, free: 10.85 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.087/2.087, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001183/0.001183, allocations: 96.3 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.0005031, allocations: 12.62 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.248, 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.TransformerStepUpYD): time 0.02097/0.269, allocations: 14.5 MB / 0.9925 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.2798, allocations: 5.541 MB / 0.9979 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.281, allocations: 35.88 kB / 0.9979 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.2821, allocations: 322.1 kB / 0.9982 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.2847, allocations: 0.6152 MB / 0.9988 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.2878, allocations: 0.6174 MB / 0.9994 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005595/0.2934, allocations: 1.747 MB / 1.001 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01816/0.3116, allocations: 5.819 MB / 1.007 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.3145, allocations: 1.04 MB / 1.008 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.3178, allocations: 1.211 MB / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00108/0.3189, allocations: 188 kB / 1.009 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.3215, allocations: 0.5774 MB / 1.01 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002762/0.3244, allocations: 1.298 MB / 1.011 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.3257, allocations: 0.5356 MB / 1.012 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.009236/0.335, allocations: 5.267 MB / 1.017 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.335, allocations: 0 / 1.017 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.767e-06/0.335, allocations: 0 / 1.017 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001866/0.3352, allocations: 0 / 1.017 GB, free: 4.812 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.009459/0.3447, allocations: 2.4 MB / 1.019 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.3448, allocations: 12.02 kB / 1.019 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00176/0.3466, allocations: 445.6 kB / 1.019 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02223/0.3688, allocations: 2.076 MB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00535/0.3742, allocations: 1.572 MB / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003947/0.3747, allocations: 213.8 kB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/0.3763, allocations: 284 kB / 1.024 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/0.3993, allocations: 5.659 MB / 1.029 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/0.3995, allocations: 4 kB / 1.029 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00116/0.4007, allocations: 116 kB / 1.029 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006345/0.4014, allocations: 196.8 kB / 1.029 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02585/0.4272, allocations: 5.816 MB / 1.035 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04946/0.4768, allocations: 22.84 MB / 1.057 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.4887, allocations: 3.102 MB / 1.06 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003916/0.4891, allocations: 126 kB / 1.06 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.79e-05/0.4892, allocations: 47.56 kB / 1.061 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=132): time 5.25e-06/0.4892, allocations: 0 / 1.061 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of matching and sorting (n=132): time 0.6893/1.178, allocations: 6.085 MB / 1.066 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/1.179, allocations: 222.4 kB / 1.067 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/1.181, allocations: 0.949 MB / 1.068 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003853/1.181, allocations: 50.08 kB / 1.068 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009327/1.182, allocations: 1.153 MB / 1.069 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008914/1.183, allocations: 467.4 kB / 1.069 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/1.184, allocations: 38.25 kB / 1.069 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000243/1.184, allocations: 420.3 kB / 1.07 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008551/1.192, allocations: 1.668 MB / 1.071 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009371/1.202, allocations: 2.237 MB / 1.073 GB, free: 80.12 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009347/1.211, allocations: 1.929 MB / 1.075 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.008e-05/1.211, allocations: 4.562 kB / 1.075 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.02151/1.233, allocations: 4.489 MB / 1.08 GB, free: 78.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001537/1.234, allocations: 6.871 MB / 1.086 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.537e-05/1.235, allocations: 18.06 kB / 1.086 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003348/1.238, allocations: 0.6353 MB / 1.087 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006592/1.245, allocations: 0.7263 MB / 1.088 GB, free: 70.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/1.258, allocations: 5.363 MB / 1.093 GB, free: 67.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005803/1.263, allocations: 0.5697 MB / 1.094 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005312/1.264, allocations: 104.5 kB / 1.094 GB, free: 67.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.264, allocations: 4.312 kB / 1.094 GB, free: 67.54 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02068/1.285, allocations: 4.332 MB / 1.098 GB, free: 66.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.371e-05/1.285, allocations: 24.2 kB / 1.098 GB, free: 66.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/1.287, allocations: 437.3 kB / 1.098 GB, free: 66.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006467/1.293, allocations: 0.7433 MB / 1.099 GB, free: 66.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/1.304, allocations: 5.253 MB / 1.104 GB, free: 63.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00534/1.309, allocations: 0.5215 MB / 1.105 GB, free: 63.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004752/1.31, allocations: 101.1 kB / 1.105 GB, free: 63.05 MB / 0.6823 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 (205): * Single equations (assignments): 204 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,75.0%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003031/1.313, allocations: 1.222 MB / 1.106 GB, free: 62.45 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000589/1.314, allocations: 113.7 kB / 1.106 GB, free: 62.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01928/1.333, allocations: 3.947 MB / 1.11 GB, free: 60.53 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.846e-05/1.333, allocations: 14.16 kB / 1.11 GB, free: 60.53 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.311e-05/1.333, allocations: 10.75 kB / 1.11 GB, free: 60.53 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-05/1.333, allocations: 8.922 kB / 1.11 GB, free: 60.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03954/1.373, allocations: 7.403 MB / 1.117 GB, free: 56.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.572e-05/1.373, allocations: 4.688 kB / 1.117 GB, free: 56.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007042/1.38, allocations: 0.5128 MB / 1.118 GB, free: 55.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00216/1.382, allocations: 472.4 kB / 1.118 GB, free: 55.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003439/1.382, allocations: 50.58 kB / 1.118 GB, free: 55.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/1.394, allocations: 5.239 MB / 1.123 GB, free: 51.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/1.394, allocations: 7.906 kB / 1.123 GB, free: 51.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/1.411, allocations: 4.123 MB / 1.127 GB, free: 49.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/1.412, allocations: 0.4923 MB / 1.128 GB, free: 48.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/1.413, allocations: 31.25 kB / 1.128 GB, free: 48.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004829/1.418, allocations: 392.8 kB / 1.128 GB, free: 48.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004875/1.418, allocations: 106.3 kB / 1.128 GB, free: 48.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/1.418, allocations: 58.02 kB / 1.128 GB, free: 48.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001381/1.42, allocations: 0.6805 MB / 1.129 GB, free: 48.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.91e-07/1.42, allocations: 0 / 1.129 GB, free: 48.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006099/1.426, allocations: 1.439 MB / 1.13 GB, free: 47.33 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 (94): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01779/1.444, allocations: 6.172 MB / 1.137 GB, free: 41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02782/1.472, allocations: 6.442 MB / 1.143 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.472, allocations: 0 / 1.143 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.009426/1.481, allocations: 2.006 MB / 1.145 GB, free: 32.51 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.483, allocations: 148.6 kB / 1.145 GB, free: 32.37 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06778/1.551, allocations: 28.1 MB / 1.172 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003348/1.554, allocations: 2.229 MB / 1.175 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.009683/1.564, allocations: 1.215 MB / 1.176 GB, free: 176 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003514/1.567, allocations: 0.804 MB / 1.177 GB, free: 15.37 MB / 0.698 GB Notification: Performance of SimCode: time 1.974e-06/1.567, allocations: 0 / 1.177 GB, free: 15.37 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/1.699, allocations: 40.84 MB / 1.216 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003297/1.7, allocations: 247.8 kB / 1.217 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.718/5.417, allocations: 4.062 kB / 1.217 GB, free: 6.551 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1)