Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",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.296/2.296, 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.001253/0.001253, allocations: 180.9 kB / 491.2 MB, free: 1.562 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.482/1.482, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.000938/0.0009379, allocations: 97.64 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.645e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2529, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9342/1.187, allocations: 199.2 MB / 1.407 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/1.187, allocations: 93.56 kB / 1.407 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2748/1.462, allocations: 113 MB / 1.517 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.934e-06/1.462, allocations: 0 / 1.517 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001738/1.462, allocations: 63.94 kB / 1.517 GB, free: 14.65 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.011/1.473, allocations: 2.428 MB / 1.52 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.474, allocations: 8.031 kB / 1.52 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/1.486, allocations: 1.912 MB / 1.522 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005069/1.491, allocations: 1.717 MB / 1.523 GB, free: 8.48 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/1.491, allocations: 100 kB / 1.523 GB, free: 8.383 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001768/1.493, allocations: 168 kB / 1.524 GB, free: 8.219 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0107/1.504, allocations: 4.065 MB / 1.528 GB, free: 4.148 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/1.519, allocations: 4.5 MB / 1.532 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/1.519, allocations: 11.95 kB / 1.532 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001184/1.52, allocations: 0 / 1.532 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004122/1.52, allocations: 197 kB / 1.532 GB, free: 15.35 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.03201/1.552, allocations: 22.12 MB / 1.554 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/1.556, allocations: 2.004 MB / 1.556 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002243/1.558, allocations: 1.18 MB / 1.557 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/1.558, allocations: 126.3 kB / 1.557 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/1.558, allocations: 47.88 kB / 1.557 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 5.09e-06/1.558, allocations: 3.938 kB / 1.557 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.01715/1.576, allocations: 7.232 MB / 1.564 GB, free: 12.42 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.576, allocations: 226.9 kB / 1.564 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/1.577, allocations: 0.9096 MB / 1.565 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002862/1.578, allocations: 29.7 kB / 1.565 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008686/1.578, allocations: 1.25 MB / 1.566 GB, free: 9.93 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006528/1.579, allocations: 0.5043 MB / 1.567 GB, free: 9.418 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/1.579, allocations: 0 / 1.567 GB, free: 9.418 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000264/1.58, allocations: 431.2 kB / 1.567 GB, free: 8.988 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/1.582, allocations: 1.293 MB / 1.569 GB, free: 7.691 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/1.584, allocations: 1.95 MB / 1.571 GB, free: 5.438 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003373/1.587, allocations: 1.907 MB / 1.572 GB, free: 3.535 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/1.587, allocations: 4 kB / 1.572 GB, free: 3.531 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007862/1.595, allocations: 4.237 MB / 1.577 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003706/1.599, allocations: 8.447 MB / 1.585 GB, free: 6.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.273e-05/1.599, allocations: 23.94 kB / 1.585 GB, free: 6.137 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/1.601, allocations: 0.7348 MB / 1.586 GB, free: 5.383 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003857/1.605, allocations: 0.7799 MB / 1.586 GB, free: 4.602 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/1.62, allocations: 12.23 MB / 1.598 GB, free: 7.68 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003765/1.624, allocations: 427 kB / 1.599 GB, free: 7.262 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007336/1.625, allocations: 119.9 kB / 1.599 GB, free: 7.145 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.625, allocations: 4 kB / 1.599 GB, free: 7.141 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00877/1.634, allocations: 3.96 MB / 1.603 GB, free: 3.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.52e-05/1.634, allocations: 20 kB / 1.603 GB, free: 3.141 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/1.635, allocations: 0.6536 MB / 1.603 GB, free: 2.469 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/1.639, allocations: 0.7721 MB / 1.604 GB, free: 1.695 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/1.65, allocations: 11.72 MB / 1.616 GB, free: 5.281 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/1.654, allocations: 411.2 kB / 1.616 GB, free: 4.879 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005622/1.654, allocations: 116 kB / 1.616 GB, free: 4.766 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.0009197/1.655, allocations: 176.2 kB / 1.616 GB, free: 4.586 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006773/1.662, allocations: 3.111 MB / 1.619 GB, free: 1.445 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005165/1.663, allocations: 118.6 kB / 1.619 GB, free: 1.328 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007366/1.67, allocations: 3.64 MB / 1.623 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/1.67, allocations: 16 kB / 1.623 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/1.67, allocations: 8 kB / 1.623 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.71e-05/1.67, allocations: 15.97 kB / 1.623 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/1.684, allocations: 6.701 MB / 1.629 GB, free: 6.711 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.684, allocations: 8 kB / 1.629 GB, free: 6.703 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/1.687, allocations: 0.5304 MB / 1.63 GB, free: 6.172 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001891/1.689, allocations: 0.61 MB / 1.631 GB, free: 5.543 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002258/1.689, allocations: 31.95 kB / 1.631 GB, free: 5.512 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/1.701, allocations: 11.53 MB / 1.642 GB, free: 9.293 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-05/1.701, allocations: 11.94 kB / 1.642 GB, free: 9.281 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006043/1.707, allocations: 3.634 MB / 1.645 GB, free: 5.367 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009204/1.708, allocations: 0.4955 MB / 1.646 GB, free: 4.852 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000356/1.709, allocations: 11.95 kB / 1.646 GB, free: 4.84 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002597/1.711, allocations: 379.2 kB / 1.646 GB, free: 4.469 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/1.712, allocations: 133.1 kB / 1.646 GB, free: 4.34 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/1.712, allocations: 63.95 kB / 1.646 GB, free: 4.277 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001224/1.713, allocations: 0.7021 MB / 1.647 GB, free: 3.578 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.5e-07/1.713, allocations: 3.938 kB / 1.647 GB, free: 3.574 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004725/1.718, allocations: 1.078 MB / 1.648 GB, free: 2.496 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.006752/1.724, allocations: 6.079 MB / 1.654 GB, free: 12.19 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.736, allocations: 6.451 MB / 1.66 GB, free: 5.629 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.736, allocations: 0 / 1.66 GB, free: 5.629 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003544/1.74, allocations: 2.179 MB / 1.663 GB, free: 3.387 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/1.741, allocations: 126.8 kB / 1.663 GB, free: 3.266 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/1.762, allocations: 6.581 MB / 1.669 GB, free: 12.54 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003179/1.765, allocations: 2.386 MB / 1.671 GB, free: 10.11 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.00472/1.77, allocations: 1.327 MB / 1.673 GB, free: 8.781 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/1.771, allocations: 0.8702 MB / 1.674 GB, free: 7.91 MB / 1.089 GB Notification: Performance of SimCode: time 1.012e-06/1.771, allocations: 0 / 1.674 GB, free: 7.91 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09654/1.868, allocations: 47.39 MB / 1.72 GB, free: 8.637 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/1.868, allocations: 182.1 kB / 1.72 GB, free: 8.449 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.452/5.321, allocations: 0 / 1.72 GB, free: 8.449 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat does not exist to compare? outputFormat=mat