Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",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.00164/0.00164, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001172/0.001172, allocations: 87.41 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004127, allocations: 12 kB / 327.1 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3454, allocations: 47.57 MB / 374.6 MB, free: 45.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.5224, allocations: 102.2 MB / 476.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.5228, allocations: 87.95 kB / 476.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.241/4.764, allocations: 0.8169 GB / 1.283 GB, free: 36.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.747e-06/4.764, allocations: 0 / 1.283 GB, free: 36.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001269/4.766, allocations: 395.1 kB / 1.283 GB, free: 36.69 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.08601/4.852, allocations: 17.08 MB / 1.3 GB, free: 31.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/4.852, allocations: 10.16 kB / 1.3 GB, free: 31.67 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01595/4.868, allocations: 3.115 MB / 1.303 GB, free: 30.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07179/4.94, allocations: 8.695 MB / 1.311 GB, free: 25.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03762/4.977, allocations: 11.93 MB / 1.323 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002809/4.98, allocations: 1.345 MB / 1.324 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01/4.99, allocations: 1.713 MB / 1.326 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5643/5.554, allocations: 32.18 MB / 1.357 GB, free: 33.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001103/5.556, allocations: 15.59 kB / 1.357 GB, free: 33.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00856/5.564, allocations: 0.7414 MB / 1.358 GB, free: 33.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002206/5.566, allocations: 1.259 MB / 1.359 GB, free: 33.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08685/5.653, allocations: 28.12 MB / 1.387 GB, free: 33.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2584/5.912, allocations: 96.64 MB / 1.481 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06408/5.976, allocations: 34.02 MB / 1.514 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6098/6.586, allocations: 48.13 MB / 1.561 GB, free: 77.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/6.586, allocations: 151.8 kB / 1.561 GB, free: 77.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1456): time 2.157e-05/6.586, allocations: 0 / 1.561 GB, free: 77.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1456): time 0.4873/7.073, allocations: 93.79 MB / 1.653 GB, free: 59.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/7.074, allocations: 197.2 kB / 1.653 GB, free: 59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01118/7.085, allocations: 3.952 MB / 1.657 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003283/7.088, allocations: 203.8 kB / 1.657 GB, free: 58.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005017/7.093, allocations: 5.914 MB / 1.663 GB, free: 56.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.008735/7.102, allocations: 4.771 MB / 1.668 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00402/7.106, allocations: 227.9 kB / 1.668 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002048/7.108, allocations: 0.9037 MB / 1.669 GB, free: 52.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02689/7.135, allocations: 9.903 MB / 1.679 GB, free: 52.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0297/7.165, allocations: 12.32 MB / 1.691 GB, free: 47.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03138/7.196, allocations: 11.93 MB / 1.702 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/7.196, allocations: 20 kB / 1.702 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1805) (initialization): time 0.08359/7.28, allocations: 28.52 MB / 1.73 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.972e-05/7.28, allocations: 32.84 kB / 1.73 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002109/7.28, allocations: 64 kB / 1.73 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03219/7.313, allocations: 10.71 MB / 1.741 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0156/7.328, allocations: 1.931 MB / 1.743 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5205/7.849, allocations: 22.01 MB / 1.764 GB, free: 79.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01448/7.863, allocations: 1.417 MB / 1.765 GB, free: 79.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004506/7.868, allocations: 0.523 MB / 1.766 GB, free: 79.99 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * 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 (1052): * Single equations (assignments): 899 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 302,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.02401/7.892, allocations: 7.216 MB / 1.773 GB, free: 79.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005273/7.897, allocations: 0.7299 MB / 1.774 GB, free: 79.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08858/7.986, allocations: 28.1 MB / 1.801 GB, free: 79.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07567/8.062, allocations: 25.57 MB / 1.826 GB, free: 76.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.152e-05/8.062, allocations: 2.625 kB / 1.826 GB, free: 76.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000263/8.062, allocations: 54.52 kB / 1.826 GB, free: 76.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1515/8.213, allocations: 52.28 MB / 1.877 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003235/8.214, allocations: 0 / 1.877 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01937/8.233, allocations: 1.332 MB / 1.878 GB, free: 53.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03509/8.268, allocations: 10.64 MB / 1.889 GB, free: 46.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003565/8.272, allocations: 302 kB / 1.889 GB, free: 46.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0435/8.315, allocations: 21.45 MB / 1.91 GB, free: 26.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/8.316, allocations: 5.312 kB / 1.91 GB, free: 26.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5855/8.901, allocations: 43.7 MB / 1.953 GB, free: 78.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01143/8.912, allocations: 3.134 MB / 1.956 GB, free: 77.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004856/8.917, allocations: 186.6 kB / 1.956 GB, free: 77.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01118/8.929, allocations: 0.5063 MB / 1.957 GB, free: 77.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005755/8.934, allocations: 1.062 MB / 1.958 GB, free: 77.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004042/8.939, allocations: 372.9 kB / 1.958 GB, free: 77.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008226/8.947, allocations: 2.968 MB / 1.961 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.71e-07/8.947, allocations: 0 / 1.961 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02081/8.968, allocations: 4.363 MB / 1.965 GB, free: 76.94 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensorL.plug_p.reference.gamma) * 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 (746): * Single equations (assignments): 593 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 302,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.1215/9.089, allocations: 42.54 MB / 2.007 GB, free: 75.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.07506/9.164, allocations: 23.82 MB / 2.03 GB, free: 72.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/9.164, allocations: 0 / 2.03 GB, free: 72.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03784/9.202, allocations: 12.32 MB / 2.042 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01425/9.217, allocations: 1.378 MB / 2.043 GB, free: 67.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.756/9.973, allocations: 157.5 MB / 2.197 GB, free: 90.49 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03051/10, allocations: 11.95 MB / 2.209 GB, free: 89.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01875/10.02, allocations: 6.233 MB / 2.215 GB, free: 89.46 MB / 0.5417 GB Notification: Performance of SimCode: time 1.382e-06/10.02, allocations: 0 / 2.215 GB, free: 89.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.32/19.34, allocations: 0.9932 GB / 3.208 GB, free: 127.5 MB / 0.5886 GB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat