Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",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.00135/0.00135, allocations: 172.4 kB / 14.1 MB, free: 1.223 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.335/1.335, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008447/0.0008446, allocations: 90.62 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.114e-05/2.116e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07064/0.07068, allocations: 47.57 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.27/0.3407, allocations: 84.63 MB / 454.7 MB, free: 8.793 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.341, allocations: 79.67 kB / 454.8 MB, free: 8.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07483/0.4158, allocations: 30.97 MB / 485.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4159, allocations: 7.938 kB / 485.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.906e-05/0.416, allocations: 35.94 kB / 485.8 MB, free: 10.79 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004029/0.42, allocations: 1.682 MB / 487.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.4201, allocations: 8.031 kB / 487.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004925/0.4206, allocations: 202.6 kB / 487.7 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.4222, allocations: 322.1 kB / 488 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.4244, allocations: 1.086 MB / 489.1 MB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.4244, allocations: 102.7 kB / 489.2 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.4246, allocations: 128 kB / 489.4 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.4274, allocations: 1.784 MB / 491.1 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.4274, allocations: 0 / 491.1 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.4276, allocations: 56 kB / 491.2 MB, free: 5.277 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.468e-05/0.4277, allocations: 49.98 kB / 491.2 MB, free: 5.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.4299, allocations: 1.516 MB / 492.8 MB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008594/0.4385, allocations: 5.599 MB / 498.4 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/0.4413, allocations: 2.864 MB / 0.4895 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005847/0.4419, allocations: 463.8 kB / 0.4899 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/0.4441, allocations: 1.525 MB / 0.4914 GB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.4441, allocations: 38.84 kB / 0.4914 GB, free: 8.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.665e-06/0.4442, allocations: 0 / 0.4914 GB, free: 8.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.001309/0.4455, allocations: 0.8001 MB / 0.4922 GB, free: 7.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.4455, allocations: 81.11 kB / 0.4923 GB, free: 7.562 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4467, allocations: 0.9182 MB / 0.4932 GB, free: 6.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.4468, allocations: 37.7 kB / 0.4932 GB, free: 6.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.4472, allocations: 0.6696 MB / 0.4939 GB, free: 5.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.4473, allocations: 185.3 kB / 0.4941 GB, free: 5.734 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.4474, allocations: 12 kB / 0.4941 GB, free: 5.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4475, allocations: 337.9 kB / 0.4944 GB, free: 5.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.448, allocations: 329.4 kB / 0.4947 GB, free: 5.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/0.4485, allocations: 495.3 kB / 0.4952 GB, free: 4.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.449, allocations: 397.2 kB / 0.4956 GB, free: 4.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.449, allocations: 4 kB / 0.4956 GB, free: 4.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001321/0.4504, allocations: 0.9312 MB / 0.4965 GB, free: 3.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4504, allocations: 8.562 kB / 0.4965 GB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4504, allocations: 8 kB / 0.4965 GB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.4504, allocations: 8 kB / 0.4965 GB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.4512, allocations: 187.7 kB / 0.4967 GB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.4512, allocations: 8 kB / 0.4967 GB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/0.4518, allocations: 95.23 kB / 0.4968 GB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.4518, allocations: 24 kB / 0.4968 GB, free: 2.848 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.452, allocations: 144.7 kB / 0.4969 GB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.4521, allocations: 90.92 kB / 0.497 GB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.4533, allocations: 0.6424 MB / 0.4977 GB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4533, allocations: 8 kB / 0.4977 GB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4533, allocations: 7.953 kB / 0.4977 GB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4533, allocations: 3.984 kB / 0.4977 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.4557, allocations: 1.622 MB / 0.4993 GB, free: 248 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.4557, allocations: 4.281 kB / 0.4993 GB, free: 244 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.4562, allocations: 95.81 kB / 0.4994 GB, free: 148 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/0.4566, allocations: 159.2 kB / 0.4995 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.4567, allocations: 23.88 kB / 0.4995 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.4594, allocations: 2.59 MB / 0.5021 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4594, allocations: 0 / 0.5021 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.4612, allocations: 1.417 MB / 0.5034 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.4616, allocations: 195.9 kB / 0.5036 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.4617, allocations: 20 kB / 0.5036 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005536/0.4623, allocations: 59.94 kB / 0.5037 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.4625, allocations: 63.75 kB / 0.5038 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.4625, allocations: 19.98 kB / 0.5038 GB, free: 11.39 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000986/0.4635, allocations: 0.7138 MB / 0.5045 GB, free: 10.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4635, allocations: 0 / 0.5045 GB, free: 10.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001035/0.4646, allocations: 366.5 kB / 0.5048 GB, free: 10.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00234/0.4669, allocations: 2.303 MB / 0.5071 GB, free: 7.965 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.468, allocations: 0.6937 MB / 0.5078 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.468, allocations: 1.125 kB / 0.5078 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008776/0.4689, allocations: 0.5556 MB / 0.5083 GB, free: 6.703 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/0.4697, allocations: 163.4 kB / 0.5085 GB, free: 6.543 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.4743, allocations: 2.703 MB / 0.5111 GB, free: 3.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.4753, allocations: 1.534 MB / 0.5126 GB, free: 2.211 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000679/0.476, allocations: 226.7 kB / 0.5128 GB, free: 1.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005862/0.4766, allocations: 479.3 kB / 0.5133 GB, free: 1.516 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4766, allocations: 0 / 0.5133 GB, free: 1.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2031/0.6798, allocations: 21.22 MB / 0.534 GB, free: 114.7 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/0.68, allocations: 201.2 kB / 0.5342 GB, free: 114.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/2.955, allocations: 0 / 0.5342 GB, free: 114.5 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat