Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001678/0.001678, allocations: 195.1 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009886/0.0009889, allocations: 94.5 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.143e-05, allocations: 4 kB / 350.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3732/0.4859, allocations: 88.49 MB / 490.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.4862, allocations: 85.27 kB / 490.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1382/0.6245, allocations: 54.38 MB / 0.5323 GB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6245, allocations: 4 kB / 0.5323 GB, free: 11.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002364/0.6248, allocations: 55.94 kB / 0.5324 GB, free: 11.71 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.007675/0.6324, allocations: 2.607 MB / 0.5349 GB, free: 9.051 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.6325, allocations: 12.03 kB / 0.5349 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001144/0.6337, allocations: 329 kB / 0.5352 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004224/0.6379, allocations: 0.6876 MB / 0.5359 GB, free: 8.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004604/0.6425, allocations: 1.625 MB / 0.5375 GB, free: 6.332 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.6428, allocations: 176.9 kB / 0.5377 GB, free: 6.156 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007713/0.6435, allocations: 235.9 kB / 0.5379 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007438/0.651, allocations: 3.011 MB / 0.5408 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.65e-05/0.6511, allocations: 0 / 0.5408 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004892/0.6516, allocations: 92 kB / 0.5409 GB, free: 2.727 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.6517, allocations: 70 kB / 0.541 GB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005787/0.6575, allocations: 2.57 MB / 0.5435 GB, free: 88 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02293/0.6805, allocations: 9.313 MB / 0.5526 GB, free: 6.438 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005214/0.6858, allocations: 4.286 MB / 0.5568 GB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.687, allocations: 0.751 MB / 0.5575 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005399/0.6925, allocations: 3.152 MB / 0.5606 GB, free: 13.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.6926, allocations: 58.62 kB / 0.5606 GB, free: 13.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=87): time 2.935e-06/0.6926, allocations: 0 / 0.5606 GB, free: 13.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.006973/0.6995, allocations: 3.258 MB / 0.5638 GB, free: 9.969 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.6996, allocations: 110.8 kB / 0.5639 GB, free: 9.836 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.7021, allocations: 1.408 MB / 0.5653 GB, free: 8.414 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.7022, allocations: 45.7 kB / 0.5654 GB, free: 8.363 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009027/0.7031, allocations: 1.118 MB / 0.5664 GB, free: 7.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.7035, allocations: 339.1 kB / 0.5668 GB, free: 6.895 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.7035, allocations: 20 kB / 0.5668 GB, free: 6.875 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7037, allocations: 357.9 kB / 0.5671 GB, free: 6.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008539/0.7046, allocations: 0.5686 MB / 0.5677 GB, free: 5.949 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.7057, allocations: 0.9533 MB / 0.5686 GB, free: 4.832 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.7067, allocations: 0.7316 MB / 0.5693 GB, free: 4.105 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.7067, allocations: 4 kB / 0.5693 GB, free: 4.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002955/0.7097, allocations: 1.802 MB / 0.5711 GB, free: 2.285 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.7098, allocations: 13.88 kB / 0.5711 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.7098, allocations: 12 kB / 0.5711 GB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/0.7102, allocations: 122.5 kB / 0.5712 GB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.7115, allocations: 331.5 kB / 0.5715 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.287/0.9985, allocations: 3.167 MB / 0.5746 GB, free: 92.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1, allocations: 111.4 kB / 0.5747 GB, free: 92.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/1, allocations: 57.61 kB / 0.5748 GB, free: 92.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 148 * 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 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002509/1, allocations: 185 kB / 0.575 GB, free: 92.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/1.001, allocations: 149.1 kB / 0.5751 GB, free: 92.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/1.003, allocations: 1.281 MB / 0.5764 GB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.003, allocations: 13.31 kB / 0.5764 GB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.003, allocations: 8.188 kB / 0.5764 GB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/1.003, allocations: 8.344 kB / 0.5764 GB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/1.007, allocations: 2.394 MB / 0.5787 GB, free: 91.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.007, allocations: 3.969 kB / 0.5787 GB, free: 91.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007893/1.008, allocations: 190.8 kB / 0.5789 GB, free: 91.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005781/1.008, allocations: 250.7 kB / 0.5792 GB, free: 91.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.497e-05/1.008, allocations: 33.42 kB / 0.5792 GB, free: 91.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004321/1.013, allocations: 5.748 MB / 0.5848 GB, free: 87.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.013, allocations: 0 / 0.5848 GB, free: 87.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/1.016, allocations: 2.416 MB / 0.5872 GB, free: 87.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/1.017, allocations: 252.9 kB / 0.5874 GB, free: 87.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/1.017, allocations: 26.95 kB / 0.5874 GB, free: 87.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008682/1.018, allocations: 107 kB / 0.5875 GB, free: 87.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/1.018, allocations: 97.02 kB / 0.5876 GB, free: 87.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.299e-05/1.018, allocations: 29.58 kB / 0.5877 GB, free: 87.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001532/1.019, allocations: 1.084 MB / 0.5887 GB, free: 87.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.019, allocations: 0 / 0.5887 GB, free: 87.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001618/1.021, allocations: 458.1 kB / 0.5892 GB, free: 87.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,reluctance_s[2].V_m.im,reluctance_s[3].V_m.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 68 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 16,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003107/1.024, allocations: 3.388 MB / 0.5925 GB, free: 85.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002257/1.026, allocations: 1.559 MB / 0.594 GB, free: 85.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.027, allocations: 7.125 kB / 0.594 GB, free: 85.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/1.028, allocations: 1.111 MB / 0.5951 GB, free: 85.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/1.029, allocations: 251.2 kB / 0.5953 GB, free: 85.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007228/1.036, allocations: 4.563 MB / 0.5998 GB, free: 84.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/1.038, allocations: 2.142 MB / 0.6019 GB, free: 83.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001267/1.039, allocations: 442.7 kB / 0.6023 GB, free: 83.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008838/1.04, allocations: 0.8251 MB / 0.6031 GB, free: 83.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.542e-06/1.04, allocations: 0 / 0.6031 GB, free: 83.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07297/1.113, allocations: 34.94 MB / 0.6372 GB, free: 81.84 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/1.113, allocations: 205.1 kB / 0.6374 GB, free: 81.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.137/4.25, allocations: 0 / 0.6374 GB, free: 81.61 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat