Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.544/2.544, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7774/0.7778, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD): time 0.01375/0.7916, allocations: 14.5 MB / 0.9678 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009231/0.8008, allocations: 5.499 MB / 0.9731 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.8024, allocations: 37.19 kB / 0.9732 GB, free: 9 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009965/0.8034, allocations: 325.3 kB / 0.9735 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.8062, allocations: 0.6069 MB / 0.9741 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.8084, allocations: 0.6317 MB / 0.9747 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003869/0.8123, allocations: 1.736 MB / 0.9764 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009559/0.8219, allocations: 5.842 MB / 0.9821 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.824, allocations: 1.032 MB / 0.9831 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.8256, allocations: 1.215 MB / 0.9843 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.8259, allocations: 192 kB / 0.9845 GB, free: 460 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.8272, allocations: 0.5735 MB / 0.985 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.8284, allocations: 1.294 MB / 0.9863 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005355/0.8289, allocations: 0.5356 MB / 0.9868 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004314/0.8332, allocations: 5.266 MB / 0.992 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8332, allocations: 0 / 0.992 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8333, allocations: 0 / 0.992 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001029/0.8334, allocations: 0 / 0.992 GB, free: 8.758 MB / 0.7481 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.004716/0.8381, allocations: 2.408 MB / 0.9943 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.8381, allocations: 8.031 kB / 0.9943 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000734/0.8389, allocations: 445.6 kB / 0.9947 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.8498, allocations: 2.068 MB / 0.9968 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003785/0.8536, allocations: 1.576 MB / 0.9983 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.8538, allocations: 221.8 kB / 0.9985 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007118/0.8545, allocations: 279.9 kB / 0.9988 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.8685, allocations: 5.646 MB / 1.004 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.187e-05/0.8686, allocations: 4 kB / 1.004 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000439/0.869, allocations: 120 kB / 1.004 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003116/0.8693, allocations: 200.7 kB / 1.005 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.8837, allocations: 5.814 MB / 1.01 GB, free: 5.758 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02749/0.9112, allocations: 22.83 MB / 1.033 GB, free: 12.89 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005955/0.9172, allocations: 3.095 MB / 1.036 GB, free: 9.625 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/0.9174, allocations: 122 kB / 1.036 GB, free: 9.488 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.9175, allocations: 55.56 kB / 1.036 GB, free: 9.426 MB / 0.795 GB Notification: Performance of pre-optimization done (n=132): time 3.286e-06/0.9175, allocations: 0 / 1.036 GB, free: 9.426 MB / 0.795 GB Notification: Performance of matching and sorting (n=132): time 0.01857/0.9361, allocations: 6.089 MB / 1.042 GB, free: 3.301 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.9362, allocations: 222.6 kB / 1.042 GB, free: 3.035 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.9378, allocations: 0.9491 MB / 1.043 GB, free: 2.078 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002305/0.938, allocations: 49.7 kB / 1.043 GB, free: 2.023 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008007/0.9388, allocations: 1.153 MB / 1.044 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005019/0.9393, allocations: 469.4 kB / 1.044 GB, free: 396 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.9395, allocations: 40 kB / 1.045 GB, free: 356 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002496/0.9397, allocations: 418.7 kB / 1.045 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004188/0.9439, allocations: 1.674 MB / 1.047 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004708/0.9486, allocations: 2.225 MB / 1.049 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004759/0.9534, allocations: 1.93 MB / 1.051 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/0.9535, allocations: 8 kB / 1.051 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.01107/0.9646, allocations: 4.489 MB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.003534/0.9681, allocations: 6.871 MB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.156e-05/0.9682, allocations: 19.94 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/0.9701, allocations: 0.6374 MB / 1.062 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003421/0.9735, allocations: 0.737 MB / 1.063 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008421/0.982, allocations: 5.358 MB / 1.068 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003391/0.9854, allocations: 0.5638 MB / 1.069 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003703/0.9858, allocations: 99.95 kB / 1.069 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.9858, allocations: 9.094 kB / 1.069 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0109/0.9967, allocations: 4.337 MB / 1.073 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.939e-05/0.9968, allocations: 20 kB / 1.073 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.998, allocations: 448.6 kB / 1.074 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/1.001, allocations: 0.7253 MB / 1.074 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006544/1.008, allocations: 5.245 MB / 1.079 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/1.011, allocations: 0.5291 MB / 1.08 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/1.011, allocations: 92.38 kB / 1.08 GB, free: 10.84 MB / 0.8419 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.0019/1.013, allocations: 1.23 MB / 1.081 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/1.013, allocations: 106.7 kB / 1.081 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009927/1.023, allocations: 3.955 MB / 1.085 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/1.023, allocations: 19.98 kB / 1.085 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.023, allocations: 4 kB / 1.085 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/1.023, allocations: 11.98 kB / 1.085 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/1.039, allocations: 7.359 MB / 1.092 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.039, allocations: 4 kB / 1.092 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/1.041, allocations: 0.5186 MB / 1.093 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/1.043, allocations: 476.5 kB / 1.093 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/1.043, allocations: 43.95 kB / 1.093 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00723/1.05, allocations: 5.249 MB / 1.099 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/1.05, allocations: 7.938 kB / 1.099 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1.06, allocations: 4.132 MB / 1.103 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.062, allocations: 499.3 kB / 1.103 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/1.062, allocations: 24 kB / 1.103 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/1.065, allocations: 399.3 kB / 1.104 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/1.065, allocations: 100.8 kB / 1.104 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.065, allocations: 55.95 kB / 1.104 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001142/1.066, allocations: 0.6864 MB / 1.104 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/1.066, allocations: 4 kB / 1.104 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004875/1.071, allocations: 1.443 MB / 1.106 GB, free: 15.99 MB / 0.8731 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.01098/1.082, allocations: 6.152 MB / 1.112 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01648/1.099, allocations: 6.452 MB / 1.118 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.099, allocations: 0 / 1.118 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0051/1.104, allocations: 1.995 MB / 1.12 GB, free: 1.184 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/1.105, allocations: 153.3 kB / 1.12 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04551/1.15, allocations: 28.11 MB / 1.148 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/1.153, allocations: 2.231 MB / 1.15 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.003776/1.156, allocations: 1.22 MB / 1.151 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/1.158, allocations: 0.796 MB / 1.152 GB, free: 4 kB / 0.9044 GB Notification: Performance of SimCode: time 1.012e-06/1.158, allocations: 0 / 1.152 GB, free: 4 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06388/1.221, allocations: 40.84 MB / 1.192 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/1.222, allocations: 247.5 kB / 1.192 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.699, allocations: 3.094 kB / 1.192 GB, free: 7.23 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat does not exist to compare? outputFormat=mat