Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.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.YY,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_YY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_YY",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.334/2.334, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001206/0.001206, allocations: 188.9 kB / 496.1 MB, free: 12.87 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.568/1.568, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.001024/0.001024, allocations: 91.89 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.6e-05/4.602e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3769, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.575, allocations: 212.5 MB / 1.426 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/1.575, allocations: 110.6 kB / 1.426 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3922/1.968, allocations: 165.6 MB / 1.588 GB, free: 6.754 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.254e-06/1.968, allocations: 0 / 1.588 GB, free: 6.754 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0001665/1.968, allocations: 80 kB / 1.588 GB, free: 6.676 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.01097/1.979, allocations: 3.166 MB / 1.591 GB, free: 3.453 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/1.979, allocations: 11.97 kB / 1.591 GB, free: 3.441 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002061/1.981, allocations: 0.5996 MB / 1.592 GB, free: 2.832 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/1.995, allocations: 2.164 MB / 1.594 GB, free: 0.6602 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006837/2.002, allocations: 2.326 MB / 1.596 GB, free: 14.29 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000377/2.002, allocations: 299.9 kB / 1.597 GB, free: 14 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002321/2.004, allocations: 388 kB / 1.597 GB, free: 13.62 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/2.024, allocations: 6.468 MB / 1.603 GB, free: 7.035 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002123/2.024, allocations: 4 kB / 1.603 GB, free: 7.031 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001761/2.026, allocations: 168 kB / 1.603 GB, free: 6.867 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007326/2.027, allocations: 314.7 kB / 1.604 GB, free: 6.559 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/2.041, allocations: 5.647 MB / 1.609 GB, free: 0.9023 MB / 1.057 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.04882/2.09, allocations: 28.69 MB / 1.637 GB, free: 1.824 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005299/2.095, allocations: 3.226 MB / 1.64 GB, free: 14.43 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002439/2.098, allocations: 1.611 MB / 1.642 GB, free: 12.8 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002838/2.098, allocations: 122.4 kB / 1.642 GB, free: 12.66 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/2.098, allocations: 63.81 kB / 1.642 GB, free: 12.59 MB / 1.104 GB Notification: Performance of pre-optimization done (n=176): time 5.6e-06/2.098, allocations: 3.938 kB / 1.642 GB, free: 12.59 MB / 1.104 GB Notification: Performance of matching and sorting (n=221): time 0.06939/2.167, allocations: 20.45 MB / 1.662 GB, free: 8.066 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/2.168, allocations: 231.6 kB / 1.662 GB, free: 7.793 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002582/2.17, allocations: 1.463 MB / 1.664 GB, free: 6.32 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0005586/2.171, allocations: 61.7 kB / 1.664 GB, free: 6.254 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/2.172, allocations: 1.744 MB / 1.666 GB, free: 4.484 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009749/2.173, allocations: 0.7587 MB / 1.666 GB, free: 3.715 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/2.173, allocations: 64 kB / 1.666 GB, free: 3.652 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0002749/2.173, allocations: 444.5 kB / 1.667 GB, free: 3.211 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/2.176, allocations: 1.915 MB / 1.669 GB, free: 1.293 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00365/2.18, allocations: 3.034 MB / 1.672 GB, free: 13.75 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003491/2.184, allocations: 2.422 MB / 1.674 GB, free: 11.33 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-05/2.184, allocations: 12 kB / 1.674 GB, free: 11.32 MB / 1.135 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01525/2.199, allocations: 7.448 MB / 1.681 GB, free: 3.848 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.005598/2.205, allocations: 14.1 MB / 1.695 GB, free: 4.641 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.472e-05/2.205, allocations: 36 kB / 1.695 GB, free: 4.605 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8435/3.048, allocations: 5.905 MB / 1.701 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004957/3.053, allocations: 0.9303 MB / 1.702 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0232/3.076, allocations: 11.46 MB / 1.713 GB, free: 310.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005927/3.082, allocations: 0.5487 MB / 1.714 GB, free: 310.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007442/3.083, allocations: 199.5 kB / 1.714 GB, free: 310.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/3.083, allocations: 4.188 kB / 1.714 GB, free: 310.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01658/3.1, allocations: 6.811 MB / 1.72 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001983/3.1, allocations: 36.53 kB / 1.72 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/3.111, allocations: 2.611 MB / 1.723 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005868/3.117, allocations: 1.069 MB / 1.724 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/3.136, allocations: 9.328 MB / 1.733 GB, free: 309.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005169/3.141, allocations: 0.5168 MB / 1.734 GB, free: 309.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007109/3.142, allocations: 200.4 kB / 1.734 GB, free: 309.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 328 * 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%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.001234/3.143, allocations: 301.9 kB / 1.734 GB, free: 309.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007179/3.144, allocations: 195.7 kB / 1.734 GB, free: 309.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/3.159, allocations: 6.376 MB / 1.741 GB, free: 309.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.983e-05/3.159, allocations: 26.44 kB / 1.741 GB, free: 309.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/3.159, allocations: 10.34 kB / 1.741 GB, free: 309.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-05/3.159, allocations: 12.25 kB / 1.741 GB, free: 309.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02452/3.183, allocations: 11.75 MB / 1.752 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/3.183, allocations: 7.719 kB / 1.752 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/3.186, allocations: 0.6074 MB / 1.753 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02178/3.208, allocations: 5.724 MB / 1.758 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007755/3.209, allocations: 80.83 kB / 1.758 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01614/3.225, allocations: 11.11 MB / 1.769 GB, free: 305.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/3.225, allocations: 12.66 kB / 1.769 GB, free: 305.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/3.238, allocations: 6.932 MB / 1.776 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/3.24, allocations: 0.6924 MB / 1.777 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004333/3.24, allocations: 51.27 kB / 1.777 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00322/3.243, allocations: 471.5 kB / 1.777 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005423/3.244, allocations: 179.6 kB / 1.777 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002603/3.244, allocations: 119.7 kB / 1.777 GB, free: 302 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001678/3.246, allocations: 1.097 MB / 1.778 GB, free: 301.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.01e-07/3.246, allocations: 0 / 1.778 GB, free: 301.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006807/3.253, allocations: 1.665 MB / 1.78 GB, free: 301.4 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 (154): * Single equations (assignments): 152 * 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%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.01482/3.268, allocations: 10.49 MB / 1.79 GB, free: 295.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01733/3.285, allocations: 8.705 MB / 1.799 GB, free: 293.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/3.285, allocations: 2.781 kB / 1.799 GB, free: 293.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006077/3.291, allocations: 2.878 MB / 1.802 GB, free: 292.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/3.293, allocations: 222 kB / 1.802 GB, free: 292.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0228/3.316, allocations: 8.888 MB / 1.811 GB, free: 289.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002916/3.319, allocations: 2.953 MB / 1.813 GB, free: 288.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005478/3.325, allocations: 1.817 MB / 1.815 GB, free: 288.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002082/3.327, allocations: 1.288 MB / 1.816 GB, free: 287.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.064e-06/3.327, allocations: 0 / 1.816 GB, free: 287.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1173/3.444, allocations: 80.72 MB / 1.895 GB, free: 241.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/3.444, allocations: 249.9 kB / 1.896 GB, free: 241.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.897/7.342, allocations: 2.922 kB / 1.896 GB, free: 241.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_YY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_YY.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY_res.mat does not exist to compare? outputFormat=mat