Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009723/0.0009722, allocations: 88.92 kB / 16.31 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 179.8 kB / 17.2 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.3 MB / 241.2 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002875, allocations: 8 kB / 300.9 MB, free: 6.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1014, allocations: 50.42 MB / 351.4 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008372/0.1098, allocations: 8.584 MB / 359.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006141/0.116, allocations: 3.039 MB / 363 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.1174, allocations: 63.81 kB / 363 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.119, allocations: 0.5361 MB / 363.6 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003351/0.1223, allocations: 1.279 MB / 364.9 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.1243, allocations: 0.8356 MB / 365.7 MB, free: 5.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.208/0.3323, allocations: 15.39 MB / 381.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02766/0.3601, allocations: 15.31 MB / 396.4 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0076/0.3677, allocations: 3.728 MB / 400.1 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008493/0.3762, allocations: 4.555 MB / 404.7 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003171/0.3795, allocations: 0.5859 MB / 405.3 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004832/0.3843, allocations: 0.7988 MB / 406.1 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002753/0.3871, allocations: 1.872 MB / 407.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003484/0.3906, allocations: 1.783 MB / 409.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01634/0.407, allocations: 15.84 MB / 425.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.407, allocations: 0 / 425.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4071, allocations: 0 / 425.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005172/0.4076, allocations: 4 kB / 425.5 MB, free: 10.85 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03123/0.4388, allocations: 10.85 MB / 436.4 MB, free: 36 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.4389, allocations: 8.031 kB / 436.4 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00753/0.4464, allocations: 1.333 MB / 437.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04712/0.4936, allocations: 8.489 MB / 446.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.5075, allocations: 5.892 MB / 452.1 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009309/0.5084, allocations: 0.665 MB / 452.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005188/0.5137, allocations: 0.8655 MB / 453.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04205/0.5558, allocations: 15.91 MB / 469.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002897/0.5561, allocations: 11.89 kB / 469.6 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002045/0.5581, allocations: 370.5 kB / 469.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005525/0.5587, allocations: 0.5505 MB / 470.5 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03185/0.5906, allocations: 15.64 MB / 486.1 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4347/1.025, allocations: 48.43 MB / 0.522 GB, free: 101.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02253/1.048, allocations: 19.28 MB / 0.5409 GB, free: 88.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006114/1.054, allocations: 3.568 MB / 0.5443 GB, free: 88.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006658/1.055, allocations: 178 kB / 0.5445 GB, free: 88.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/1.055, allocations: 93.78 kB / 0.5446 GB, free: 88.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 1.266e-05/1.055, allocations: 0 / 0.5446 GB, free: 88.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.03298/1.088, allocations: 13.47 MB / 0.5578 GB, free: 87.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/1.088, allocations: 131.3 kB / 0.5579 GB, free: 87.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.099, allocations: 3.812 MB / 0.5616 GB, free: 86.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001423/1.1, allocations: 100.7 kB / 0.5617 GB, free: 86.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003442/1.104, allocations: 3.9 MB / 0.5655 GB, free: 83.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002484/1.106, allocations: 1.605 MB / 0.5671 GB, free: 82.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009693/1.107, allocations: 146.1 kB / 0.5672 GB, free: 82.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004658/1.108, allocations: 0.6045 MB / 0.5678 GB, free: 81.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005514/1.113, allocations: 3.661 MB / 0.5714 GB, free: 80.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007363/1.12, allocations: 6.497 MB / 0.5777 GB, free: 75.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007511/1.128, allocations: 5.202 MB / 0.5828 GB, free: 72.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/1.128, allocations: 24.66 kB / 0.5828 GB, free: 72.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02195/1.15, allocations: 11.88 MB / 0.5944 GB, free: 63.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.136e-05/1.15, allocations: 48.31 kB / 0.5945 GB, free: 63.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/1.15, allocations: 96 kB / 0.5946 GB, free: 63.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00428/1.155, allocations: 1.617 MB / 0.5961 GB, free: 61.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007059/1.162, allocations: 1.669 MB / 0.5978 GB, free: 59.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/1.177, allocations: 16.18 MB / 0.6136 GB, free: 42.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00639/1.184, allocations: 0.9484 MB / 0.6145 GB, free: 41.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001776/1.186, allocations: 360 kB / 0.6148 GB, free: 41.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006888/1.193, allocations: 3.754 MB / 0.6185 GB, free: 37.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.194, allocations: 399 kB / 0.6189 GB, free: 37.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/1.207, allocations: 8.549 MB / 0.6272 GB, free: 28.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/1.207, allocations: 51.95 kB / 0.6273 GB, free: 28.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.053e-05/1.207, allocations: 12 kB / 0.6273 GB, free: 28.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-05/1.207, allocations: 27.89 kB / 0.6273 GB, free: 28.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/1.232, allocations: 16.89 MB / 0.6438 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/1.232, allocations: 4 kB / 0.6438 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003316/1.236, allocations: 0.8581 MB / 0.6447 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003882/1.24, allocations: 1.505 MB / 0.6461 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008072/1.241, allocations: 104 kB / 0.6462 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01627/1.257, allocations: 15.99 MB / 0.6619 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.257, allocations: 11.94 kB / 0.6619 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02119/1.278, allocations: 12.17 MB / 0.6737 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003015/1.281, allocations: 1.112 MB / 0.6748 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001687/1.283, allocations: 91.94 kB / 0.6749 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/1.286, allocations: 307.7 kB / 0.6752 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/1.287, allocations: 315.6 kB / 0.6755 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006551/1.288, allocations: 137.8 kB / 0.6756 GB, free: 9.988 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004835/1.293, allocations: 2.551 MB / 0.6781 GB, free: 7.441 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.293, allocations: 0 / 0.6781 GB, free: 7.441 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01008/1.303, allocations: 2.381 MB / 0.6805 GB, free: 5.051 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.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 (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02513/1.328, allocations: 12.88 MB / 0.693 GB, free: 7.941 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.234/1.562, allocations: 9.308 MB / 0.7021 GB, free: 157.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.562, allocations: 4.422 kB / 0.7021 GB, free: 157.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007853/1.57, allocations: 4.47 MB / 0.7065 GB, free: 156.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004628/1.575, allocations: 0.7063 MB / 0.7072 GB, free: 156.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0888/1.663, allocations: 48.56 MB / 0.7546 GB, free: 129.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008208/1.672, allocations: 6.042 MB / 0.7605 GB, free: 123 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008315/1.68, allocations: 3.251 MB / 0.7637 GB, free: 119.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005225/1.685, allocations: 3.042 MB / 0.7667 GB, free: 116.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.673e-06/1.685, allocations: 8 kB / 0.7667 GB, free: 116.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3974/2.083, allocations: 121.9 MB / 0.8857 GB, free: 125.6 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/2.083, allocations: 253.3 kB / 0.8859 GB, free: 125.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.232/7.315, allocations: 0 / 0.8859 GB, free: 125.3 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat