Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00102/0.00102, allocations: 95.55 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 203.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002223/0.0002223, allocations: 8 kB / 306.7 MB, free: 1.242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1095, allocations: 51.5 MB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007958/0.1175, allocations: 7.994 MB / 366.2 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006106/0.1236, allocations: 3.169 MB / 369.4 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.1252, allocations: 59.81 kB / 369.4 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002/0.1272, allocations: 0.5636 MB / 370 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.1311, allocations: 1.192 MB / 371.2 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1712/0.3023, allocations: 0.8363 MB / 372 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02351/0.3259, allocations: 12.32 MB / 384.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02835/0.3543, allocations: 15.22 MB / 399.6 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006384/0.3607, allocations: 3.3 MB / 402.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007579/0.3683, allocations: 4.105 MB / 407 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001945/0.3703, allocations: 0.5781 MB / 407.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003943/0.3743, allocations: 0.7941 MB / 408.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003297/0.3776, allocations: 1.807 MB / 410.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00451/0.3822, allocations: 1.779 MB / 411.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01868/0.4009, allocations: 15.83 MB / 427.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4009, allocations: 4 kB / 427.8 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4009, allocations: 0 / 427.8 MB, free: 6.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004911/0.4014, allocations: 0 / 427.8 MB, free: 6.973 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.03041/0.4318, allocations: 10.81 MB / 438.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.4319, allocations: 11.97 kB / 438.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006165/0.4381, allocations: 1.328 MB / 439.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04758/0.4857, allocations: 8.588 MB / 448.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01361/0.4993, allocations: 5.87 MB / 454.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007556/0.5001, allocations: 0.6584 MB / 455 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00356/0.5037, allocations: 0.8633 MB / 455.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03885/0.5425, allocations: 15.83 MB / 471.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003063/0.5429, allocations: 11.91 kB / 471.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002204/0.5451, allocations: 371.9 kB / 472.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004863/0.5456, allocations: 0.5543 MB / 472.6 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02679/0.5724, allocations: 15.64 MB / 488.3 MB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08192/0.6544, allocations: 49.23 MB / 0.5249 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3886/1.043, allocations: 19.28 MB / 0.5438 GB, free: 111.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006692/1.044, allocations: 256.5 kB / 0.544 GB, free: 111.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.154e-05/1.044, allocations: 88.84 kB / 0.5441 GB, free: 111.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.873e-06/1.044, allocations: 0 / 0.5441 GB, free: 111.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02757/1.071, allocations: 11.49 MB / 0.5553 GB, free: 108 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.502e-05/1.071, allocations: 125.1 kB / 0.5554 GB, free: 107.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006961/1.078, allocations: 3.82 MB / 0.5592 GB, free: 106.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.08, allocations: 101.5 kB / 0.5592 GB, free: 106.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002071/1.082, allocations: 3.893 MB / 0.563 GB, free: 103.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001935/1.084, allocations: 1.614 MB / 0.5646 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/1.084, allocations: 143.7 kB / 0.5648 GB, free: 102.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003538/1.084, allocations: 0.6141 MB / 0.5654 GB, free: 101.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004922/1.089, allocations: 3.656 MB / 0.5689 GB, free: 100.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005468/1.095, allocations: 6.466 MB / 0.5752 GB, free: 95.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006451/1.101, allocations: 5.197 MB / 0.5803 GB, free: 93.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-05/1.101, allocations: 25.94 kB / 0.5803 GB, free: 93.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01807/1.119, allocations: 11.88 MB / 0.592 GB, free: 88.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/1.119, allocations: 44 kB / 0.592 GB, free: 88.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001691/1.12, allocations: 92.31 kB / 0.5921 GB, free: 88.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00473/1.124, allocations: 1.625 MB / 0.5937 GB, free: 86.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006164/1.131, allocations: 1.669 MB / 0.5953 GB, free: 85.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/1.146, allocations: 16.54 MB / 0.6115 GB, free: 67.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005423/1.152, allocations: 0.9523 MB / 0.6124 GB, free: 66.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.153, allocations: 356 kB / 0.6127 GB, free: 66.52 MB / 446.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.005055/1.158, allocations: 3.755 MB / 0.6164 GB, free: 62.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007005/1.158, allocations: 391.1 kB / 0.6168 GB, free: 62.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.171, allocations: 8.553 MB / 0.6251 GB, free: 53.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-05/1.171, allocations: 51.94 kB / 0.6252 GB, free: 53.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.37e-05/1.171, allocations: 12 kB / 0.6252 GB, free: 53.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.696e-05/1.171, allocations: 27.89 kB / 0.6252 GB, free: 53.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03052/1.202, allocations: 16.9 MB / 0.6417 GB, free: 36.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/1.202, allocations: 4 kB / 0.6417 GB, free: 36.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003458/1.205, allocations: 0.8582 MB / 0.6425 GB, free: 35.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004294/1.209, allocations: 1.503 MB / 0.644 GB, free: 34.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006776/1.21, allocations: 99.98 kB / 0.6441 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01495/1.225, allocations: 16.36 MB / 0.6601 GB, free: 17.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.225, allocations: 4 kB / 0.6601 GB, free: 17.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01692/1.242, allocations: 12.36 MB / 0.6722 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003387/1.245, allocations: 1.112 MB / 0.6732 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009803/1.246, allocations: 92.05 kB / 0.6733 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/1.249, allocations: 303.6 kB / 0.6736 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006348/1.25, allocations: 323.5 kB / 0.6739 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002579/1.25, allocations: 132 kB / 0.6741 GB, free: 2.418 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003505/1.254, allocations: 2.551 MB / 0.6765 GB, free: 15.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.254, allocations: 1.203 kB / 0.6765 GB, free: 15.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008554/1.262, allocations: 2.381 MB / 0.6789 GB, free: 13.48 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.02153/1.284, allocations: 13.62 MB / 0.6922 GB, free: 15.61 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01666/1.3, allocations: 9.31 MB / 0.7013 GB, free: 6.191 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.3, allocations: 0 / 0.7013 GB, free: 6.191 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007935/1.308, allocations: 4.466 MB / 0.7056 GB, free: 1.656 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/1.312, allocations: 0.631 MB / 0.7062 GB, free: 1.039 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3201/1.632, allocations: 112.2 MB / 0.8158 GB, free: 65.24 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006718/1.639, allocations: 6.175 MB / 0.8219 GB, free: 60.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007173/1.646, allocations: 3.255 MB / 0.825 GB, free: 57.72 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003837/1.65, allocations: 3.045 MB / 0.828 GB, free: 54.67 MB / 478.1 MB Notification: Performance of SimCode: time 2.885e-06/1.65, allocations: 0 / 0.828 GB, free: 54.67 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4748/2.125, allocations: 121.8 MB / 0.9469 GB, free: 103.4 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/2.125, allocations: 248 kB / 0.9472 GB, free: 103.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.137/7.262, allocations: 4 kB / 0.9472 GB, free: 103.1 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat