Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.TransformerStepUpYD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",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.366/2.366, allocations: 390.3 MB / 405.3 MB, free: 13.4 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.001502/0.001502, allocations: 181 kB / 498.1 MB, free: 5.68 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.509/1.509, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009266/0.0009265, allocations: 103.2 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003851, allocations: 10.44 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2879, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2345/0.5225, allocations: 199.1 MB / 1.417 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/0.5228, allocations: 103.9 kB / 1.418 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.8369/1.36, allocations: 110.2 MB / 1.525 GB, free: 126 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.793e-06/1.36, allocations: 0 / 1.525 GB, free: 126 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.582e-05/1.36, allocations: 56 kB / 1.525 GB, free: 126 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.005755/1.366, allocations: 2.413 MB / 1.527 GB, free: 123.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.366, allocations: 8.031 kB / 1.527 GB, free: 123.5 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000896/1.367, allocations: 453.6 kB / 1.528 GB, free: 123 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/1.377, allocations: 1.896 MB / 1.53 GB, free: 121.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004753/1.382, allocations: 1.663 MB / 1.531 GB, free: 119.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/1.382, allocations: 217.8 kB / 1.532 GB, free: 119.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/1.384, allocations: 276 kB / 1.532 GB, free: 118.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/1.397, allocations: 5.239 MB / 1.537 GB, free: 113.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.923e-05/1.397, allocations: 0 / 1.537 GB, free: 113.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003673/1.397, allocations: 123.9 kB / 1.537 GB, free: 113.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002638/1.397, allocations: 192.7 kB / 1.537 GB, free: 113.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/1.41, allocations: 5.369 MB / 1.543 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02797/1.438, allocations: 22.48 MB / 1.564 GB, free: 83.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005441/1.443, allocations: 3.001 MB / 1.567 GB, free: 80.22 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/1.444, allocations: 118.1 kB / 1.568 GB, free: 80.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/1.444, allocations: 55.5 kB / 1.568 GB, free: 80.03 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=132): time 3.928e-06/1.444, allocations: 0 / 1.568 GB, free: 80.03 MB / 0.9167 GB Notification: Performance of matching and sorting (n=174): time 0.04042/1.484, allocations: 12.96 MB / 1.58 GB, free: 67.02 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/1.484, allocations: 230.9 kB / 1.58 GB, free: 66.75 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/1.486, allocations: 0.8585 MB / 1.581 GB, free: 65.88 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003546/1.486, allocations: 57.7 kB / 1.581 GB, free: 65.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005922/1.487, allocations: 1.15 MB / 1.582 GB, free: 64.65 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006831/1.487, allocations: 0.6008 MB / 1.583 GB, free: 64.04 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003029/1.488, allocations: 44 kB / 1.583 GB, free: 64 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002006/1.488, allocations: 427.2 kB / 1.584 GB, free: 63.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004196/1.492, allocations: 1.843 MB / 1.585 GB, free: 61.73 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00445/1.497, allocations: 2.43 MB / 1.588 GB, free: 59.04 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004421/1.501, allocations: 2.149 MB / 1.59 GB, free: 56.89 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/1.501, allocations: 4 kB / 1.59 GB, free: 56.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01159/1.513, allocations: 5.31 MB / 1.595 GB, free: 51.56 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00133/1.514, allocations: 6.884 MB / 1.602 GB, free: 44.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.815e-05/1.514, allocations: 16 kB / 1.602 GB, free: 44.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/1.517, allocations: 1.075 MB / 1.603 GB, free: 43.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/1.52, allocations: 0.737 MB / 1.603 GB, free: 42.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/1.532, allocations: 10.59 MB / 1.614 GB, free: 31.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/1.535, allocations: 467 kB / 1.614 GB, free: 31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005642/1.536, allocations: 108 kB / 1.614 GB, free: 30.89 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/1.536, allocations: 4 kB / 1.614 GB, free: 30.89 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01178/1.547, allocations: 5.173 MB / 1.619 GB, free: 25.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.37e-05/1.547, allocations: 20 kB / 1.619 GB, free: 25.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/1.549, allocations: 0.8813 MB / 1.62 GB, free: 24.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/1.553, allocations: 0.737 MB / 1.621 GB, free: 24.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/1.564, allocations: 10.55 MB / 1.631 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/1.567, allocations: 447.2 kB / 1.632 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005097/1.567, allocations: 108 kB / 1.632 GB, free: 12.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (212): * Single equations (assignments): 210 * 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: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002431/1.57, allocations: 1.277 MB / 1.633 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000511/1.57, allocations: 122.5 kB / 1.633 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/1.581, allocations: 4.926 MB / 1.638 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-05/1.581, allocations: 16 kB / 1.638 GB, free: 6.301 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.873e-05/1.581, allocations: 12 kB / 1.638 GB, free: 6.289 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-05/1.581, allocations: 15.97 kB / 1.638 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/1.6, allocations: 8.672 MB / 1.647 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/1.6, allocations: 11.94 kB / 1.647 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002571/1.602, allocations: 0.5225 MB / 1.647 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002236/1.605, allocations: 0.8798 MB / 1.648 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/1.605, allocations: 55.95 kB / 1.648 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/1.62, allocations: 10.12 MB / 1.658 GB, free: 1.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/1.62, allocations: 19.89 kB / 1.658 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/1.632, allocations: 5 MB / 1.663 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/1.633, allocations: 0.5149 MB / 1.663 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/1.634, allocations: 36 kB / 1.663 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.637, allocations: 403.3 kB / 1.664 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004719/1.637, allocations: 153 kB / 1.664 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/1.637, allocations: 63.95 kB / 1.664 GB, free: 11.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001527/1.639, allocations: 0.6786 MB / 1.665 GB, free: 10.43 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.639, allocations: 0 / 1.665 GB, free: 10.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006066/1.645, allocations: 1.234 MB / 1.666 GB, free: 9.191 MB / 0.948 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01265/1.658, allocations: 7.456 MB / 1.673 GB, free: 1.523 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01915/1.677, allocations: 7.927 MB / 1.681 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.677, allocations: 4 kB / 1.681 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.006099/1.683, allocations: 2.589 MB / 1.683 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/1.684, allocations: 152.4 kB / 1.683 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04876/1.733, allocations: 29.85 MB / 1.713 GB, free: 8.258 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003628/1.737, allocations: 2.347 MB / 1.715 GB, free: 5.875 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004129/1.741, allocations: 1.237 MB / 1.716 GB, free: 4.633 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/1.742, allocations: 0.8468 MB / 1.717 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of SimCode: time 8.62e-07/1.742, allocations: 0 / 1.717 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08079/1.823, allocations: 50.31 MB / 1.766 GB, free: 1.816 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.823, allocations: 233.4 kB / 1.766 GB, free: 1.582 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.192/5.016, allocations: 0 / 1.766 GB, free: 1.582 MB / 1.042 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat does not exist to compare? outputFormat=mat