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.002174/0.002174, allocations: 182.3 kB / 13.66 MB, free: 1.664 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.039/2.039, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001109/0.001108, allocations: 82.77 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.487e-05/3.501e-05, allocations: 7.984 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.0973, allocations: 47.58 MB / 369.2 MB, free: 2.098 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.5487, allocations: 102.1 MB / 471.3 MB, free: 7.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.5491, allocations: 85.56 kB / 471.4 MB, free: 7.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.284/4.833, allocations: 0.816 GB / 1.276 GB, free: 34.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.164e-06/4.833, allocations: 4 kB / 1.276 GB, free: 34.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00142/4.835, allocations: 400.4 kB / 1.277 GB, free: 34.93 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.08472/4.919, allocations: 16.48 MB / 1.293 GB, free: 30.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/4.92, allocations: 9.656 kB / 1.293 GB, free: 30.24 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01605/4.936, allocations: 3.083 MB / 1.296 GB, free: 30.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07033/5.006, allocations: 8.644 MB / 1.304 GB, free: 29.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0413/5.047, allocations: 11.91 MB / 1.316 GB, free: 27.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002501/5.05, allocations: 1.344 MB / 1.317 GB, free: 27.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01004/5.06, allocations: 1.718 MB / 1.319 GB, free: 27.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1084/5.168, allocations: 31.88 MB / 1.35 GB, free: 18.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009361/5.169, allocations: 15.91 kB / 1.35 GB, free: 18.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008437/5.178, allocations: 0.7455 MB / 1.351 GB, free: 17.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001871/5.18, allocations: 1.246 MB / 1.352 GB, free: 16.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1134/5.293, allocations: 29.06 MB / 1.38 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7479/6.041, allocations: 96.62 MB / 1.475 GB, free: 34.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07074/6.112, allocations: 33.89 MB / 1.508 GB, free: 17.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0397/6.152, allocations: 15.11 MB / 1.523 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1429/6.295, allocations: 47.23 MB / 1.569 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/6.295, allocations: 147.3 kB / 1.569 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1454): time 2.16e-05/6.295, allocations: 6.906 kB / 1.569 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1454): time 0.1051/6.4, allocations: 26.64 MB / 1.595 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002022/6.4, allocations: 195.5 kB / 1.595 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4789/6.879, allocations: 4.584 MB / 1.599 GB, free: 87.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003238/6.883, allocations: 204.1 kB / 1.6 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005659/6.888, allocations: 5.915 MB / 1.605 GB, free: 84.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.008853/6.897, allocations: 4.765 MB / 1.61 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003891/6.901, allocations: 231.1 kB / 1.61 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002209/6.903, allocations: 0.9024 MB / 1.611 GB, free: 81.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02827/6.932, allocations: 9.812 MB / 1.621 GB, free: 81.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03071/6.962, allocations: 12.23 MB / 1.633 GB, free: 79.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03273/6.995, allocations: 11.87 MB / 1.644 GB, free: 78.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001406/6.995, allocations: 16.91 kB / 1.644 GB, free: 78.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1803) (initialization): time 0.08732/7.083, allocations: 28.25 MB / 1.672 GB, free: 78.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.925e-05/7.083, allocations: 29.72 kB / 1.672 GB, free: 78.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002371/7.083, allocations: 63.78 kB / 1.672 GB, free: 78.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03234/7.116, allocations: 10.41 MB / 1.682 GB, free: 77.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0161/7.132, allocations: 1.943 MB / 1.684 GB, free: 77.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04333/7.175, allocations: 21.21 MB / 1.705 GB, free: 67.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01473/7.19, allocations: 1.427 MB / 1.706 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004496/7.194, allocations: 0.5208 MB / 1.707 GB, free: 66.36 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 909 * 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 290,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.008004/7.203, allocations: 0.6995 MB / 1.707 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005126/7.208, allocations: 0.7262 MB / 1.708 GB, free: 65.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08624/7.294, allocations: 27.79 MB / 1.735 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1001/7.394, allocations: 25.33 MB / 1.76 GB, free: 27.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.946e-05/7.394, allocations: 5.469 kB / 1.76 GB, free: 27.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003211/7.395, allocations: 55.08 kB / 1.76 GB, free: 27.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.633/8.028, allocations: 52.39 MB / 1.811 GB, free: 80.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000236/8.028, allocations: 3.562 kB / 1.811 GB, free: 80.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01277/8.041, allocations: 1.361 MB / 1.813 GB, free: 80.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03262/8.073, allocations: 10.29 MB / 1.823 GB, free: 79.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003924/8.077, allocations: 300.3 kB / 1.823 GB, free: 79.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04732/8.125, allocations: 21.09 MB / 1.843 GB, free: 76.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/8.125, allocations: 0 / 1.843 GB, free: 76.03 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1171/8.242, allocations: 41.3 MB / 1.884 GB, free: 70.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01189/8.254, allocations: 3.131 MB / 1.887 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004963/8.259, allocations: 180.6 kB / 1.887 GB, free: 68.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01157/8.27, allocations: 0.5093 MB / 1.888 GB, free: 68.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005445/8.276, allocations: 1.055 MB / 1.889 GB, free: 68.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003701/8.28, allocations: 378.1 kB / 1.889 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007623/8.287, allocations: 2.923 MB / 1.892 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.52e-07/8.287, allocations: 1.812 kB / 1.892 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02026/8.308, allocations: 4.362 MB / 1.896 GB, free: 66.04 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (756): * Single equations (assignments): 603 * 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 290,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.1141/8.422, allocations: 42.26 MB / 1.937 GB, free: 32.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.06733/8.489, allocations: 23.6 MB / 1.96 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/8.489, allocations: 2.344 kB / 1.96 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03873/8.528, allocations: 12.2 MB / 1.972 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01539/8.544, allocations: 1.369 MB / 1.974 GB, free: 248 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6006/9.144, allocations: 41.4 MB / 2.014 GB, free: 91.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04186/9.186, allocations: 11.94 MB / 2.026 GB, free: 90.54 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02598/9.212, allocations: 6.235 MB / 2.032 GB, free: 90.54 MB / 0.5417 GB Notification: Performance of SimCode: time 1.533e-06/9.212, allocations: 0 / 2.032 GB, free: 90.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.562/18.77, allocations: 0.998 GB / 3.03 GB, free: 108.8 MB / 0.573 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