Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 387.1 MB / 399.7 MB, free: 9.434 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.001048/0.001048, allocations: 172.9 kB / 492.3 MB, free: 0.5977 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.453/1.453, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009428/0.0009427, allocations: 98.58 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.858e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2554, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9597/1.215, allocations: 199.1 MB / 1.407 GB, free: 1.008 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/1.215, allocations: 99.09 kB / 1.407 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.28/1.496, allocations: 113.5 MB / 1.518 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.104e-06/1.496, allocations: 0 / 1.518 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001634/1.496, allocations: 63.98 kB / 1.518 GB, free: 13.82 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.008743/1.505, allocations: 2.428 MB / 1.52 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.505, allocations: 12.03 kB / 1.52 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001993/1.507, allocations: 466.6 kB / 1.521 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/1.519, allocations: 1.896 MB / 1.523 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004899/1.524, allocations: 1.736 MB / 1.524 GB, free: 7.168 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/1.524, allocations: 226.1 kB / 1.524 GB, free: 6.945 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/1.525, allocations: 292 kB / 1.525 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/1.538, allocations: 4.925 MB / 1.53 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.697e-05/1.538, allocations: 7.938 kB / 1.53 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004061/1.538, allocations: 124 kB / 1.53 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003243/1.539, allocations: 205 kB / 1.53 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009219/1.548, allocations: 4.501 MB / 1.534 GB, free: 12.8 MB / 0.948 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.03489/1.583, allocations: 22.78 MB / 1.556 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/1.586, allocations: 2.025 MB / 1.558 GB, free: 1.871 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/1.589, allocations: 1.332 MB / 1.56 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/1.589, allocations: 110.1 kB / 1.56 GB, free: 396 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/1.589, allocations: 63.48 kB / 1.56 GB, free: 324 kB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 3.306e-06/1.589, allocations: 0 / 1.56 GB, free: 324 kB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.02883/1.618, allocations: 8.888 MB / 1.569 GB, free: 7.375 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/1.618, allocations: 226.9 kB / 1.569 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/1.62, allocations: 0.9527 MB / 1.57 GB, free: 6.145 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002745/1.62, allocations: 53.69 kB / 1.57 GB, free: 6.086 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008976/1.621, allocations: 1.258 MB / 1.571 GB, free: 4.809 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006028/1.621, allocations: 0.5316 MB / 1.572 GB, free: 4.27 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/1.622, allocations: 44 kB / 1.572 GB, free: 4.227 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002921/1.622, allocations: 435.1 kB / 1.572 GB, free: 3.793 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/1.624, allocations: 1.308 MB / 1.573 GB, free: 2.48 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/1.626, allocations: 1.986 MB / 1.575 GB, free: 192 kB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/1.629, allocations: 1.657 MB / 1.577 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/1.629, allocations: 8 kB / 1.577 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.0073/1.636, allocations: 4.112 MB / 1.581 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003667/1.64, allocations: 8.435 MB / 1.589 GB, free: 1.289 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-05/1.64, allocations: 24 kB / 1.589 GB, free: 1.266 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/1.642, allocations: 0.7387 MB / 1.59 GB, free: 0.5078 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003911/1.646, allocations: 0.7682 MB / 1.591 GB, free: 15.74 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/1.66, allocations: 12.47 MB / 1.603 GB, free: 2.465 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/1.664, allocations: 471 kB / 1.603 GB, free: 2.004 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006323/1.665, allocations: 112 kB / 1.603 GB, free: 1.895 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.665, allocations: 4 kB / 1.603 GB, free: 1.891 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008202/1.673, allocations: 3.968 MB / 1.607 GB, free: 13.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.772e-05/1.673, allocations: 20 kB / 1.607 GB, free: 13.88 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/1.675, allocations: 0.6888 MB / 1.608 GB, free: 13.18 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003877/1.679, allocations: 0.776 MB / 1.609 GB, free: 12.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/1.692, allocations: 12.33 MB / 1.621 GB, free: 15.26 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003599/1.696, allocations: 455.1 kB / 1.621 GB, free: 14.82 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006179/1.697, allocations: 108 kB / 1.621 GB, free: 14.71 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009447/1.698, allocations: 248.2 kB / 1.621 GB, free: 14.46 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005728/1.698, allocations: 126.5 kB / 1.622 GB, free: 14.34 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00707/1.705, allocations: 3.582 MB / 1.625 GB, free: 10.7 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/1.705, allocations: 19.95 kB / 1.625 GB, free: 10.68 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-05/1.705, allocations: 12 kB / 1.625 GB, free: 10.66 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/1.705, allocations: 7.969 kB / 1.625 GB, free: 10.66 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/1.721, allocations: 7.246 MB / 1.632 GB, free: 3.207 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.281e-05/1.721, allocations: 15.92 kB / 1.632 GB, free: 3.191 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/1.724, allocations: 0.527 MB / 1.633 GB, free: 2.664 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/1.726, allocations: 0.6299 MB / 1.633 GB, free: 2.016 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002232/1.726, allocations: 47.97 kB / 1.633 GB, free: 1.969 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01392/1.74, allocations: 12.01 MB / 1.645 GB, free: 5.16 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/1.74, allocations: 8 kB / 1.645 GB, free: 5.152 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006574/1.746, allocations: 3.646 MB / 1.649 GB, free: 1.191 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.748, allocations: 0.4993 MB / 1.649 GB, free: 0.6719 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003922/1.748, allocations: 32 kB / 1.649 GB, free: 0.6406 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/1.751, allocations: 399.3 kB / 1.65 GB, free: 256 kB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003941/1.751, allocations: 140.7 kB / 1.65 GB, free: 112 kB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/1.751, allocations: 63.95 kB / 1.65 GB, free: 48 kB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001401/1.753, allocations: 0.7529 MB / 1.651 GB, free: 15.29 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.71e-07/1.753, allocations: 0 / 1.651 GB, free: 15.29 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.004427/1.757, allocations: 1.191 MB / 1.652 GB, free: 14.1 MB / 1.073 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 (107): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006721/1.764, allocations: 6.383 MB / 1.658 GB, free: 7.461 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01219/1.776, allocations: 6.737 MB / 1.665 GB, free: 0.5781 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.776, allocations: 0 / 1.665 GB, free: 0.5781 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003838/1.78, allocations: 2.248 MB / 1.667 GB, free: 14.25 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/1.781, allocations: 158.7 kB / 1.667 GB, free: 14.11 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02204/1.804, allocations: 6.757 MB / 1.673 GB, free: 7.195 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002713/1.806, allocations: 2.378 MB / 1.676 GB, free: 4.781 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.004265/1.811, allocations: 1.328 MB / 1.677 GB, free: 3.449 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/1.812, allocations: 0.8663 MB / 1.678 GB, free: 2.582 MB / 1.089 GB Notification: Performance of SimCode: time 1.362e-06/1.812, allocations: 0 / 1.678 GB, free: 2.582 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08434/1.896, allocations: 48.58 MB / 1.725 GB, free: 2.301 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/1.897, allocations: 208 kB / 1.726 GB, free: 2.078 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.432/5.328, allocations: 3.875 kB / 1.726 GB, free: 2.078 MB / 1.135 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat does not exist to compare? outputFormat=mat