Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.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.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY",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.442/2.442, allocations: 390.5 MB / 398 MB, free: 10.98 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.001679/0.001679, allocations: 187.8 kB / 491.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009476/0.0009475, allocations: 99.83 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.01e-05/2.014e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2578, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9976/1.255, allocations: 211.9 MB / 1.419 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.256, allocations: 111.5 kB / 1.419 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.4175/1.673, allocations: 163.7 MB / 1.579 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.244e-06/1.673, allocations: 0 / 1.579 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001558/1.674, allocations: 75.98 kB / 1.579 GB, free: 14.73 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.01054/1.684, allocations: 3.055 MB / 1.582 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.684, allocations: 8.031 kB / 1.582 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/1.698, allocations: 2.246 MB / 1.585 GB, free: 9.352 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006379/1.705, allocations: 2.252 MB / 1.587 GB, free: 7.055 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/1.705, allocations: 128 kB / 1.587 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002028/1.707, allocations: 208 kB / 1.587 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01313/1.72, allocations: 5.029 MB / 1.592 GB, free: 1.691 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/1.737, allocations: 5.685 MB / 1.598 GB, free: 11.88 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.751e-05/1.737, allocations: 3.938 kB / 1.598 GB, free: 11.88 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000468/1.738, allocations: 4 kB / 1.598 GB, free: 11.88 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005729/1.739, allocations: 310.3 kB / 1.598 GB, free: 11.57 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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.03976/1.778, allocations: 27.75 MB / 1.625 GB, free: 13.36 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00552/1.784, allocations: 3.648 MB / 1.629 GB, free: 9.516 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002709/1.787, allocations: 1.806 MB / 1.63 GB, free: 7.691 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/1.787, allocations: 139 kB / 1.63 GB, free: 7.535 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/1.787, allocations: 56.5 kB / 1.63 GB, free: 7.473 MB / 1.042 GB Notification: Performance of pre-optimization done (n=198): time 4.719e-06/1.787, allocations: 0 / 1.63 GB, free: 7.473 MB / 1.042 GB Notification: Performance of matching and sorting (n=255): time 0.03148/1.818, allocations: 13.61 MB / 1.644 GB, free: 9.852 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001751/1.819, allocations: 235.6 kB / 1.644 GB, free: 9.57 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/1.821, allocations: 1.189 MB / 1.645 GB, free: 8.371 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0005648/1.822, allocations: 25.7 kB / 1.645 GB, free: 8.34 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.00123/1.823, allocations: 1.567 MB / 1.647 GB, free: 6.75 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/1.824, allocations: 0.8391 MB / 1.648 GB, free: 5.898 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/1.824, allocations: 0 / 1.648 GB, free: 5.898 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002451/1.824, allocations: 432.4 kB / 1.648 GB, free: 5.469 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/1.827, allocations: 1.97 MB / 1.65 GB, free: 3.496 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003612/1.831, allocations: 2.863 MB / 1.653 GB, free: 244 kB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005198/1.836, allocations: 2.773 MB / 1.655 GB, free: 13.44 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/1.836, allocations: 8 kB / 1.655 GB, free: 13.43 MB / 1.073 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01666/1.853, allocations: 7.577 MB / 1.663 GB, free: 5.789 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.004733/1.858, allocations: 10.79 MB / 1.673 GB, free: 10.14 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.388e-05/1.858, allocations: 32.27 kB / 1.673 GB, free: 10.11 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01417/1.872, allocations: 3.839 MB / 1.677 GB, free: 6.254 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004523/1.876, allocations: 0.8774 MB / 1.678 GB, free: 5.375 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/1.899, allocations: 13.25 MB / 1.691 GB, free: 7.977 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004801/1.904, allocations: 490.8 kB / 1.691 GB, free: 7.496 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008646/1.905, allocations: 172.4 kB / 1.692 GB, free: 7.328 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.905, allocations: 4 kB / 1.692 GB, free: 7.324 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009664/1.915, allocations: 4.858 MB / 1.696 GB, free: 2.422 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.336e-05/1.915, allocations: 28 kB / 1.696 GB, free: 2.395 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-05/1.915, allocations: 48 kB / 1.696 GB, free: 2.348 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005647/1.921, allocations: 1.209 MB / 1.698 GB, free: 1.137 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.33e-05/1.921, allocations: 59.78 kB / 1.698 GB, free: 1.078 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003964/1.925, allocations: 439 kB / 1.698 GB, free: 0.6484 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000553/1.925, allocations: 171.9 kB / 1.698 GB, free: 492 kB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 300 * 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: 1 {(6,100.0%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of prepare postOptimizeDAE: time 0.0009294/1.926, allocations: 184.8 kB / 1.698 GB, free: 300 kB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01645/1.943, allocations: 6.657 MB / 1.705 GB, free: 9.613 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/1.944, allocations: 181.8 kB / 1.705 GB, free: 9.434 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01629/1.96, allocations: 7.518 MB / 1.712 GB, free: 1.871 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.336e-05/1.96, allocations: 27.95 kB / 1.712 GB, free: 1.844 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/1.96, allocations: 15.94 kB / 1.712 GB, free: 1.828 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.451e-05/1.961, allocations: 19.95 kB / 1.712 GB, free: 1.809 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02489/1.985, allocations: 11.97 MB / 1.724 GB, free: 5.68 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.426e-05/1.985, allocations: 8 kB / 1.724 GB, free: 5.672 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003209/1.989, allocations: 0.6208 MB / 1.725 GB, free: 5.051 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01469/2.003, allocations: 4.303 MB / 1.729 GB, free: 0.7344 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006626/2.004, allocations: 43.94 kB / 1.729 GB, free: 0.6914 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02087/2.025, allocations: 12.92 MB / 1.742 GB, free: 3.617 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/2.025, allocations: 15.94 kB / 1.742 GB, free: 3.602 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8629/2.888, allocations: 7.463 MB / 1.749 GB, free: 321.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00195/2.89, allocations: 0.7102 MB / 1.75 GB, free: 321 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/2.891, allocations: 11.94 kB / 1.75 GB, free: 321 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003915/2.894, allocations: 0.512 MB / 1.75 GB, free: 321 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000579/2.895, allocations: 199.4 kB / 1.75 GB, free: 321 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002574/2.895, allocations: 103.5 kB / 1.75 GB, free: 321 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001484/2.897, allocations: 0.9109 MB / 1.751 GB, free: 320.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.7e-07/2.897, allocations: 0 / 1.751 GB, free: 320.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006015/2.903, allocations: 1.426 MB / 1.753 GB, free: 320.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 156 * 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: 1 {(6,100.0%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.02081/2.924, allocations: 11.28 MB / 1.764 GB, free: 316.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0172/2.941, allocations: 7.912 MB / 1.771 GB, free: 316.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/2.941, allocations: 1.719 kB / 1.771 GB, free: 316.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.007233/2.948, allocations: 3.073 MB / 1.774 GB, free: 316.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/2.95, allocations: 157.5 kB / 1.775 GB, free: 316.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.033/2.983, allocations: 9.914 MB / 1.784 GB, free: 315.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002934/2.986, allocations: 2.863 MB / 1.787 GB, free: 314.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00555/2.992, allocations: 1.812 MB / 1.789 GB, free: 314.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/2.994, allocations: 1.212 MB / 1.79 GB, free: 314.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.092e-06/2.994, allocations: 0 / 1.79 GB, free: 314.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1186/3.112, allocations: 75.43 MB / 1.864 GB, free: 311.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/3.113, allocations: 219.6 kB / 1.864 GB, free: 311.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.877/6.99, allocations: 0 / 1.864 GB, free: 311.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY_res.mat does not exist to compare? outputFormat=mat