Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.376/2.376, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 88.02 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.223e-05/4.225e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2994, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.123/1.422, allocations: 199.9 MB / 1.414 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003653/1.423, allocations: 100.6 kB / 1.414 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2696/1.692, allocations: 109.6 MB / 1.521 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.432e-06/1.693, allocations: 0 / 1.521 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.446e-05/1.693, allocations: 59.94 kB / 1.521 GB, free: 11.98 MB / 0.9792 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.00497/1.698, allocations: 2.345 MB / 1.524 GB, free: 9.582 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.698, allocations: 8.031 kB / 1.524 GB, free: 9.574 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006317/1.698, allocations: 441.6 kB / 1.524 GB, free: 9.133 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/1.709, allocations: 1.9 MB / 1.526 GB, free: 7.227 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003642/1.713, allocations: 1.658 MB / 1.527 GB, free: 5.523 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/1.713, allocations: 213.8 kB / 1.528 GB, free: 5.312 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006016/1.713, allocations: 276 kB / 1.528 GB, free: 5.043 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008489/1.722, allocations: 4.734 MB / 1.533 GB, free: 220 kB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.746e-05/1.722, allocations: 0 / 1.533 GB, free: 220 kB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003487/1.722, allocations: 123.9 kB / 1.533 GB, free: 96 kB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003217/1.723, allocations: 192.8 kB / 1.533 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007183/1.73, allocations: 4.372 MB / 1.537 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02771/1.758, allocations: 22.47 MB / 1.559 GB, free: 3.016 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/1.761, allocations: 2.525 MB / 1.561 GB, free: 328 kB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/1.763, allocations: 1.458 MB / 1.563 GB, free: 14.85 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/1.764, allocations: 114.1 kB / 1.563 GB, free: 14.72 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/1.764, allocations: 63.48 kB / 1.563 GB, free: 14.64 MB / 1.026 GB Notification: Performance of pre-optimization done (n=132): time 4.488e-06/1.764, allocations: 0 / 1.563 GB, free: 14.64 MB / 1.026 GB Notification: Performance of matching and sorting (n=174): time 0.03139/1.795, allocations: 10.02 MB / 1.573 GB, free: 4.586 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/1.795, allocations: 234.9 kB / 1.573 GB, free: 4.309 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/1.797, allocations: 0.847 MB / 1.574 GB, free: 3.453 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0003241/1.797, allocations: 53.7 kB / 1.574 GB, free: 3.395 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008203/1.798, allocations: 1.154 MB / 1.575 GB, free: 2.223 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006771/1.798, allocations: 0.6008 MB / 1.576 GB, free: 1.613 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/1.799, allocations: 44.03 kB / 1.576 GB, free: 1.57 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002538/1.799, allocations: 431.2 kB / 1.576 GB, free: 1.141 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/1.801, allocations: 1.344 MB / 1.577 GB, free: 15.79 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/1.803, allocations: 1.938 MB / 1.579 GB, free: 13.6 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/1.806, allocations: 1.669 MB / 1.581 GB, free: 11.93 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/1.806, allocations: 4 kB / 1.581 GB, free: 11.93 MB / 1.042 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007373/1.813, allocations: 4.308 MB / 1.585 GB, free: 7.602 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002898/1.816, allocations: 7.056 MB / 1.592 GB, free: 15.99 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.501e-05/1.816, allocations: 20 kB / 1.592 GB, free: 15.97 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/1.819, allocations: 1.102 MB / 1.593 GB, free: 14.86 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003588/1.822, allocations: 0.7331 MB / 1.594 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/1.836, allocations: 10.15 MB / 1.604 GB, free: 3.699 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003771/1.84, allocations: 467 kB / 1.604 GB, free: 3.242 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006745/1.841, allocations: 108 kB / 1.604 GB, free: 3.137 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.841, allocations: 4 kB / 1.604 GB, free: 3.133 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008412/1.849, allocations: 4.183 MB / 1.608 GB, free: 14.94 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.137e-05/1.849, allocations: 19.98 kB / 1.608 GB, free: 14.92 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/1.851, allocations: 0.888 MB / 1.609 GB, free: 14.03 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/1.855, allocations: 0.7254 MB / 1.61 GB, free: 13.3 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/1.869, allocations: 10.1 MB / 1.62 GB, free: 2.926 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003543/1.872, allocations: 459.1 kB / 1.62 GB, free: 2.477 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006526/1.873, allocations: 104 kB / 1.62 GB, free: 2.375 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001021/1.874, allocations: 224.4 kB / 1.621 GB, free: 2.148 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006318/1.875, allocations: 130.4 kB / 1.621 GB, free: 2.02 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007759/1.882, allocations: 3.939 MB / 1.625 GB, free: 14.04 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/1.882, allocations: 24 kB / 1.625 GB, free: 14.02 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.724e-05/1.882, allocations: 12 kB / 1.625 GB, free: 14 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/1.882, allocations: 7.969 kB / 1.625 GB, free: 14 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/1.898, allocations: 7.892 MB / 1.632 GB, free: 5.914 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/1.898, allocations: 11.98 kB / 1.632 GB, free: 5.902 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002631/1.9, allocations: 0.5225 MB / 1.633 GB, free: 5.379 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/1.903, allocations: 0.8876 MB / 1.634 GB, free: 4.484 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/1.903, allocations: 55.95 kB / 1.634 GB, free: 4.43 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/1.916, allocations: 9.679 MB / 1.643 GB, free: 10.48 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/1.916, allocations: 11.94 kB / 1.643 GB, free: 10.46 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006988/1.923, allocations: 4.104 MB / 1.647 GB, free: 6.059 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.925, allocations: 0.5149 MB / 1.648 GB, free: 5.523 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004026/1.925, allocations: 40 kB / 1.648 GB, free: 5.484 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/1.928, allocations: 403.3 kB / 1.648 GB, free: 5.09 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004085/1.928, allocations: 156.9 kB / 1.648 GB, free: 4.93 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/1.929, allocations: 67.92 kB / 1.648 GB, free: 4.863 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001255/1.93, allocations: 0.667 MB / 1.649 GB, free: 4.199 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.81e-07/1.93, allocations: 0 / 1.649 GB, free: 4.199 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.005518/1.935, allocations: 1.23 MB / 1.65 GB, free: 2.969 MB / 1.104 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00759/1.943, allocations: 6.847 MB / 1.657 GB, free: 11.88 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01265/1.956, allocations: 6.417 MB / 1.663 GB, free: 5.422 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.323e-05/1.956, allocations: 0 / 1.663 GB, free: 5.422 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.004119/1.96, allocations: 2.103 MB / 1.665 GB, free: 3.293 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/1.961, allocations: 160.7 kB / 1.665 GB, free: 3.137 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/1.985, allocations: 6.756 MB / 1.672 GB, free: 12.23 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003722/1.989, allocations: 2.359 MB / 1.674 GB, free: 9.832 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.004712/1.994, allocations: 1.261 MB / 1.676 GB, free: 8.566 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/1.995, allocations: 0.8546 MB / 1.676 GB, free: 7.715 MB / 1.135 GB Notification: Performance of SimCode: time 1.724e-06/1.995, allocations: 0 / 1.676 GB, free: 7.715 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8568/2.852, allocations: 51.72 MB / 1.727 GB, free: 335.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/2.852, allocations: 218.7 kB / 1.727 GB, free: 335.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.434/6.287, allocations: 1.875 kB / 1.727 GB, free: 335.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat does not exist to compare? outputFormat=mat