Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.DY,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_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.259/2.259, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001067/0.001067, allocations: 182.6 kB / 0.4901 GB, free: 2.258 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.603/1.603, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0008773/0.000877, allocations: 102.3 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 11.97 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.304, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9979/1.302, allocations: 212.6 MB / 1.437 GB, free: 193.1 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004168/1.302, allocations: 119.2 kB / 1.437 GB, free: 193.1 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3615/1.664, allocations: 159.4 MB / 1.593 GB, free: 51.18 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.428e-06/1.664, allocations: 0 / 1.593 GB, free: 51.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002771/1.664, allocations: 79.98 kB / 1.593 GB, free: 51.1 MB / 0.9167 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.01428/1.679, allocations: 3.218 MB / 1.596 GB, free: 47.82 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/1.679, allocations: 12.03 kB / 1.596 GB, free: 47.81 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003356/1.682, allocations: 0.5708 MB / 1.597 GB, free: 47.23 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/1.695, allocations: 2.153 MB / 1.599 GB, free: 45.07 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007406/1.703, allocations: 2.252 MB / 1.601 GB, free: 42.77 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002932/1.703, allocations: 279.4 kB / 1.601 GB, free: 42.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002267/1.705, allocations: 371.9 kB / 1.601 GB, free: 42.14 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/1.727, allocations: 6.708 MB / 1.608 GB, free: 35.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002213/1.727, allocations: 0 / 1.608 GB, free: 35.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00215/1.729, allocations: 163.9 kB / 1.608 GB, free: 35.14 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006541/1.73, allocations: 306.3 kB / 1.608 GB, free: 34.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/1.749, allocations: 6.534 MB / 1.615 GB, free: 28.3 MB / 0.9167 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.04767/1.796, allocations: 28.32 MB / 1.642 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/1.807, allocations: 4.241 MB / 1.647 GB, free: 9.125 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003985/1.807, allocations: 139 kB / 1.647 GB, free: 8.973 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.284e-05/1.807, allocations: 60.5 kB / 1.647 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=198): time 5.22e-06/1.807, allocations: 0 / 1.647 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of matching and sorting (n=255): time 0.1054/1.913, allocations: 28.46 MB / 1.675 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/1.913, allocations: 239.6 kB / 1.675 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/1.915, allocations: 1.326 MB / 1.676 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005882/1.916, allocations: 65.7 kB / 1.676 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001079/1.917, allocations: 1.571 MB / 1.678 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001068/1.918, allocations: 0.8665 MB / 1.679 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/1.918, allocations: 60 kB / 1.679 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002245/1.918, allocations: 436.4 kB / 1.679 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006727/1.925, allocations: 2.527 MB / 1.681 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007504/1.933, allocations: 3.434 MB / 1.685 GB, free: 1.383 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006441/1.939, allocations: 2.972 MB / 1.688 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-05/1.939, allocations: 8 kB / 1.688 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.02002/1.959, allocations: 8.844 MB / 1.696 GB, free: 5.473 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.004025/1.963, allocations: 10.79 MB / 1.707 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.965e-05/1.963, allocations: 28 kB / 1.707 GB, free: 9.797 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02591/1.989, allocations: 6.655 MB / 1.713 GB, free: 3.125 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004276/1.994, allocations: 0.8813 MB / 1.714 GB, free: 2.242 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/2.017, allocations: 14.04 MB / 1.728 GB, free: 4.031 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004786/2.022, allocations: 0.5146 MB / 1.729 GB, free: 3.516 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005221/2.023, allocations: 191.9 kB / 1.729 GB, free: 3.328 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/2.023, allocations: 4 kB / 1.729 GB, free: 3.324 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01959/2.042, allocations: 8.12 MB / 1.737 GB, free: 11.15 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/2.043, allocations: 28.56 kB / 1.737 GB, free: 11.12 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/2.055, allocations: 3.216 MB / 1.74 GB, free: 7.902 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005336/2.06, allocations: 1.041 MB / 1.741 GB, free: 6.859 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/2.08, allocations: 11.53 MB / 1.752 GB, free: 11.18 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00517/2.085, allocations: 0.499 MB / 1.753 GB, free: 10.68 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/2.086, allocations: 191.8 kB / 1.753 GB, free: 10.49 MB / 1.042 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 () * Number of clocked 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.004793/2.091, allocations: 1.62 MB / 1.754 GB, free: 8.859 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/2.092, allocations: 201.6 kB / 1.755 GB, free: 8.66 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0224/2.115, allocations: 8.576 MB / 1.763 GB, free: 40 kB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.913e-05/2.115, allocations: 28 kB / 1.763 GB, free: 12 kB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.635e-05/2.115, allocations: 8 kB / 1.763 GB, free: 4 kB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.598e-05/2.115, allocations: 16.02 kB / 1.763 GB, free: 15.98 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03406/2.149, allocations: 13.67 MB / 1.776 GB, free: 2.137 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/2.149, allocations: 8 kB / 1.776 GB, free: 2.129 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003003/2.152, allocations: 0.6204 MB / 1.777 GB, free: 1.508 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02652/2.179, allocations: 6.484 MB / 1.783 GB, free: 11.01 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008121/2.18, allocations: 83.92 kB / 1.783 GB, free: 10.93 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02153/2.201, allocations: 13.64 MB / 1.797 GB, free: 13.11 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/2.201, allocations: 16.02 kB / 1.797 GB, free: 13.1 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02077/2.222, allocations: 8.527 MB / 1.805 GB, free: 4.188 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002527/2.224, allocations: 0.7366 MB / 1.806 GB, free: 3.43 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008555/2.225, allocations: 48 kB / 1.806 GB, free: 3.383 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003764/2.229, allocations: 491.1 kB / 1.806 GB, free: 2.902 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007056/2.23, allocations: 202 kB / 1.806 GB, free: 2.707 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004239/2.23, allocations: 123.9 kB / 1.807 GB, free: 2.586 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.002362/2.233, allocations: 1.041 MB / 1.808 GB, free: 1.543 MB / 1.089 GB Notification: Performance of sort global known variables: time 3.9e-07/2.233, allocations: 0 / 1.808 GB, free: 1.543 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.008356/2.241, allocations: 1.656 MB / 1.809 GB, free: 15.88 MB / 1.104 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 () * Number of clocked 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.02392/2.265, allocations: 12.16 MB / 1.821 GB, free: 3.469 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.02836/2.293, allocations: 10.68 MB / 1.831 GB, free: 8.754 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/2.293, allocations: 0 / 1.831 GB, free: 8.754 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.009593/2.303, allocations: 3.666 MB / 1.835 GB, free: 5.082 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/2.305, allocations: 220 kB / 1.835 GB, free: 4.867 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8141/3.119, allocations: 48.38 MB / 1.883 GB, free: 303.9 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004402/3.124, allocations: 2.882 MB / 1.885 GB, free: 303.2 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.005997/3.13, allocations: 1.66 MB / 1.887 GB, free: 303.1 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/3.132, allocations: 1.233 MB / 1.888 GB, free: 303.1 MB / 1.135 GB Notification: Performance of SimCode: time 2.294e-06/3.132, allocations: 0.9062 kB / 1.888 GB, free: 303.1 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1511/3.283, allocations: 82.58 MB / 1.969 GB, free: 292.1 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/3.283, allocations: 281.3 kB / 1.969 GB, free: 291.8 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.657/6.94, allocations: 0 / 1.969 GB, free: 291.8 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY_res.mat does not exist to compare? outputFormat=mat