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.476/2.476, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001357/0.001357, allocations: 184.8 kB / 487.4 MB, free: 5.055 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.444/1.444, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008676/0.0008677, allocations: 107.8 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.947e-05/1.948e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2753, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9074/1.183, allocations: 198.4 MB / 1.4 GB, free: 9.68 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/1.183, allocations: 102.2 kB / 1.4 GB, free: 9.621 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2662/1.449, allocations: 113 MB / 1.51 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.304e-06/1.449, allocations: 4 kB / 1.51 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.351e-05/1.449, allocations: 60 kB / 1.51 GB, free: 7.188 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.006552/1.456, allocations: 2.428 MB / 1.513 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.456, allocations: 8.031 kB / 1.513 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/1.469, allocations: 1.912 MB / 1.515 GB, free: 2.777 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005578/1.474, allocations: 1.717 MB / 1.516 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/1.474, allocations: 100 kB / 1.516 GB, free: 0.9141 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/1.476, allocations: 172 kB / 1.517 GB, free: 0.7461 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009805/1.486, allocations: 4.061 MB / 1.52 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/1.498, allocations: 4.499 MB / 1.525 GB, free: 8.094 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.705e-05/1.498, allocations: 3.938 kB / 1.525 GB, free: 8.09 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003649/1.498, allocations: 7.953 kB / 1.525 GB, free: 8.082 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000372/1.499, allocations: 197 kB / 1.525 GB, free: 7.887 MB / 0.9323 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.02976/1.529, allocations: 22.14 MB / 1.547 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/1.531, allocations: 1.991 MB / 1.549 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/1.533, allocations: 1.18 MB / 1.55 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/1.533, allocations: 114.4 kB / 1.55 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/1.533, allocations: 59.75 kB / 1.55 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 4.007e-06/1.533, allocations: 4 kB / 1.55 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.01467/1.548, allocations: 7.228 MB / 1.557 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.548, allocations: 230.8 kB / 1.557 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/1.549, allocations: 0.9135 MB / 1.558 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002383/1.55, allocations: 25.7 kB / 1.558 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008052/1.55, allocations: 1.254 MB / 1.559 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005875/1.551, allocations: 0.5043 MB / 1.56 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/1.551, allocations: 4.031 kB / 1.56 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002301/1.551, allocations: 431.2 kB / 1.56 GB, free: 1.523 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/1.553, allocations: 1.285 MB / 1.562 GB, free: 240 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/1.556, allocations: 1.951 MB / 1.563 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003702/1.559, allocations: 1.906 MB / 1.565 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/1.559, allocations: 4 kB / 1.565 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008439/1.568, allocations: 4.241 MB / 1.569 GB, free: 7.805 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.003512/1.571, allocations: 8.443 MB / 1.578 GB, free: 14.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.083e-05/1.572, allocations: 20 kB / 1.578 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/1.574, allocations: 0.7427 MB / 1.578 GB, free: 13.92 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/1.578, allocations: 0.7721 MB / 1.579 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/1.592, allocations: 12.24 MB / 1.591 GB, free: 220 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/1.596, allocations: 427 kB / 1.592 GB, free: 15.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004068/1.596, allocations: 116 kB / 1.592 GB, free: 15.68 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.596, allocations: 4 kB / 1.592 GB, free: 15.68 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007904/1.604, allocations: 3.952 MB / 1.596 GB, free: 11.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-05/1.604, allocations: 20 kB / 1.596 GB, free: 11.69 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/1.606, allocations: 0.6492 MB / 1.596 GB, free: 11.02 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003549/1.61, allocations: 0.7799 MB / 1.597 GB, free: 10.24 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/1.621, allocations: 11.72 MB / 1.608 GB, free: 13.83 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003344/1.625, allocations: 415.1 kB / 1.609 GB, free: 13.42 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003145/1.625, allocations: 116 kB / 1.609 GB, free: 13.31 MB / 1.026 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.0005424/1.626, allocations: 173.2 kB / 1.609 GB, free: 13.13 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006384/1.632, allocations: 3.111 MB / 1.612 GB, free: 9.992 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004735/1.633, allocations: 118.6 kB / 1.612 GB, free: 9.875 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007176/1.64, allocations: 3.636 MB / 1.616 GB, free: 6.18 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/1.64, allocations: 20 kB / 1.616 GB, free: 6.16 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/1.64, allocations: 8 kB / 1.616 GB, free: 6.152 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/1.64, allocations: 11.97 kB / 1.616 GB, free: 6.141 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/1.652, allocations: 6.713 MB / 1.622 GB, free: 15.24 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/1.652, allocations: 4 kB / 1.622 GB, free: 15.24 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/1.655, allocations: 0.5186 MB / 1.623 GB, free: 14.72 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001737/1.656, allocations: 0.6262 MB / 1.623 GB, free: 14.07 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/1.657, allocations: 23.97 kB / 1.624 GB, free: 14.05 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/1.669, allocations: 11.53 MB / 1.635 GB, free: 1.832 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/1.669, allocations: 11.94 kB / 1.635 GB, free: 1.82 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006267/1.675, allocations: 3.631 MB / 1.638 GB, free: 13.91 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009782/1.676, allocations: 0.4955 MB / 1.639 GB, free: 13.39 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/1.676, allocations: 11.98 kB / 1.639 GB, free: 13.38 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/1.679, allocations: 391.2 kB / 1.639 GB, free: 13 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/1.679, allocations: 129.1 kB / 1.639 GB, free: 12.88 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.679, allocations: 55.95 kB / 1.639 GB, free: 12.82 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.00102/1.68, allocations: 0.706 MB / 1.64 GB, free: 12.12 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.51e-07/1.68, allocations: 0 / 1.64 GB, free: 12.12 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004052/1.684, allocations: 1.078 MB / 1.641 GB, free: 11.04 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 99 * 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.006923/1.691, allocations: 6.073 MB / 1.647 GB, free: 4.738 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01099/1.702, allocations: 6.462 MB / 1.653 GB, free: 14.17 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.702, allocations: 0.5 kB / 1.653 GB, free: 14.17 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003468/1.706, allocations: 2.175 MB / 1.655 GB, free: 11.93 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/1.707, allocations: 131.9 kB / 1.656 GB, free: 11.8 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/1.725, allocations: 6.588 MB / 1.662 GB, free: 5.074 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002578/1.728, allocations: 2.382 MB / 1.664 GB, free: 2.656 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004433/1.732, allocations: 1.331 MB / 1.666 GB, free: 1.32 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/1.734, allocations: 0.8624 MB / 1.667 GB, free: 468 kB / 1.073 GB Notification: Performance of SimCode: time 5.61e-07/1.734, allocations: 0 / 1.667 GB, free: 468 kB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09618/1.83, allocations: 47.39 MB / 1.713 GB, free: 1.188 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/1.83, allocations: 181.8 kB / 1.713 GB, free: 0.9922 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.233/5.063, allocations: 0 / 1.713 GB, free: 0.9922 MB / 1.12 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