Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.001149, allocations: 92.36 kB / 270.9 MB, free: 8.406 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005248, allocations: 8 kB / 327.1 MB, free: 144 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4255, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.58, allocations: 80.49 MB / 455.1 MB, free: 180 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.5804, allocations: 75.97 kB / 455.2 MB, free: 104 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07843/0.6588, allocations: 18.48 MB / 473.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6589, allocations: 4 kB / 473.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001214/0.659, allocations: 28 kB / 473.7 MB, free: 13.46 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005019/0.664, allocations: 1.45 MB / 475.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.6641, allocations: 8.031 kB / 475.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007019/0.6648, allocations: 181 kB / 475.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005012/0.6654, allocations: 142.3 kB / 475.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.668, allocations: 0.8611 MB / 476.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.6682, allocations: 86.17 kB / 476.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004149/0.6686, allocations: 111.9 kB / 476.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004705/0.6733, allocations: 1.497 MB / 478 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/0.6734, allocations: 0 / 478 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.6736, allocations: 48 kB / 478.1 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.6737, allocations: 24 kB / 478.1 MB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004367/0.6781, allocations: 1.23 MB / 479.3 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/0.6909, allocations: 4.26 MB / 483.6 MB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.6931, allocations: 1.323 MB / 484.9 MB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.863e-05/0.6933, allocations: 8.438 kB / 484.9 MB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.6933, allocations: 42.98 kB / 485 MB, free: 1.707 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.585e-06/0.6933, allocations: 0 / 485 MB, free: 1.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.006016/0.6994, allocations: 1.966 MB / 486.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.6994, allocations: 55.84 kB / 487 MB, free: 15.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.7012, allocations: 0.7453 MB / 487.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001567/0.7014, allocations: 29.7 kB / 487.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005376/0.702, allocations: 0.5517 MB / 488.3 MB, free: 14.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.7023, allocations: 173.4 kB / 488.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.7023, allocations: 12 kB / 488.5 MB, free: 14.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.7025, allocations: 338.8 kB / 488.8 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009337/0.7035, allocations: 316.8 kB / 489.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.7045, allocations: 411.3 kB / 489.5 MB, free: 13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.7056, allocations: 370 kB / 489.9 MB, free: 12.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7057, allocations: 4 kB / 489.9 MB, free: 12.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002432/0.7081, allocations: 0.8742 MB / 490.8 MB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.7082, allocations: 12 kB / 490.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.7082, allocations: 0 / 490.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000456/0.7087, allocations: 112.7 kB / 490.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.7098, allocations: 123.9 kB / 491 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.7133, allocations: 2.197 MB / 493.2 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008134/0.7142, allocations: 27.97 kB / 493.2 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.7143, allocations: 20 kB / 493.3 MB, free: 9.125 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001041/0.7153, allocations: 453.4 kB / 493.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.7156, allocations: 75.16 kB / 493.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.7158, allocations: 91.08 kB / 493.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.7159, allocations: 12.02 kB / 493.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.7159, allocations: 4 kB / 493.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.7159, allocations: 3.984 kB / 493.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00549/0.7214, allocations: 2.027 MB / 495.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.7215, allocations: 0 / 495.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/0.7222, allocations: 95.95 kB / 496 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004143/0.7227, allocations: 100.9 kB / 496.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.7227, allocations: 15.98 kB / 496.1 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/0.7261, allocations: 2.147 MB / 498.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7262, allocations: 0 / 498.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003302/0.7295, allocations: 1.231 MB / 499.5 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/0.7299, allocations: 176.2 kB / 499.7 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.7301, allocations: 8 kB / 499.7 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007474/0.7309, allocations: 56.02 kB / 499.7 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.731, allocations: 36.38 kB / 499.8 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.7311, allocations: 16 kB / 499.8 MB, free: 2.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001259/0.7324, allocations: 0.581 MB / 0.4886 GB, free: 1.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7324, allocations: 0 / 0.4886 GB, free: 1.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001231/0.7336, allocations: 216 kB / 0.4888 GB, free: 1.527 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2683/1.002, allocations: 1.92 MB / 0.4907 GB, free: 102.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002376/1.004, allocations: 0.8337 MB / 0.4915 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.004, allocations: 0.5 kB / 0.4915 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/1.006, allocations: 491.6 kB / 0.492 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/1.007, allocations: 167.4 kB / 0.4922 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/1.02, allocations: 7.724 MB / 0.4997 GB, free: 99.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.021, allocations: 1.33 MB / 0.501 GB, free: 98.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007467/1.022, allocations: 382.5 kB / 0.5014 GB, free: 98.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/1.022, allocations: 0 / 0.5014 GB, free: 98.78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.946/3.969, allocations: 24.39 MB / 0.5252 GB, free: 86.61 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat