Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.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.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, allocations: 101.3 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002258/0.0002261, allocations: 8 kB / 306.7 MB, free: 1.242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09125, allocations: 51.49 MB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase): time 0.2139/0.3052, allocations: 20.25 MB / 378.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01854/0.3238, allocations: 6.721 MB / 385.2 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00639/0.3303, allocations: 144 kB / 385.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005978/0.3363, allocations: 1.262 MB / 386.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.3469, allocations: 2.109 MB / 388.7 MB, free: 5.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004475/0.3514, allocations: 0.9791 MB / 389.7 MB, free: 4.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01411/0.3655, allocations: 6.921 MB / 396.6 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.376, allocations: 5.748 MB / 402.4 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008213/0.3843, allocations: 3.104 MB / 405.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008775/0.3931, allocations: 3.709 MB / 409.2 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003096/0.3962, allocations: 0.5156 MB / 409.7 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004936/0.4012, allocations: 0.6911 MB / 410.4 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003276/0.4045, allocations: 1.916 MB / 412.3 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004948/0.4095, allocations: 1.853 MB / 414.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01881/0.4283, allocations: 14.01 MB / 428.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.4283, allocations: 0 / 428.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4283, allocations: 0 / 428.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005669/0.4289, allocations: 0 / 428.2 MB, free: 6.453 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.0259/0.4548, allocations: 9.082 MB / 437.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4549, allocations: 12.03 kB / 437.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004058/0.4589, allocations: 1.103 MB / 438.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/0.4714, allocations: 2.147 MB / 440.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01559/0.487, allocations: 5.593 MB / 446.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007919/0.4878, allocations: 0.5901 MB / 446.7 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003943/0.4918, allocations: 0.7888 MB / 447.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02601/0.5178, allocations: 11.23 MB / 458.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001404/0.518, allocations: 4 kB / 458.7 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007595/0.5188, allocations: 336 kB / 459 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003459/0.5191, allocations: 380.3 kB / 459.4 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02253/0.5417, allocations: 9.89 MB / 469.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05872/0.6004, allocations: 34.79 MB / 0.4923 GB, free: 9.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01907/0.6195, allocations: 21.05 MB / 0.5128 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/0.6345, allocations: 8.337 MB / 0.521 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.6347, allocations: 73.16 kB / 0.5211 GB, free: 9.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=337): time 4.598e-06/0.6347, allocations: 0 / 0.5211 GB, free: 9.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=345): time 0.3849/1.02, allocations: 16.16 MB / 0.5368 GB, free: 130.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/1.02, allocations: 94.41 kB / 0.5369 GB, free: 130.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007723/1.027, allocations: 4.434 MB / 0.5413 GB, free: 129 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000596/1.028, allocations: 86.77 kB / 0.5413 GB, free: 128.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002548/1.031, allocations: 3.549 MB / 0.5448 GB, free: 126.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001177/1.032, allocations: 1.161 MB / 0.5459 GB, free: 125.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/1.032, allocations: 80.12 kB / 0.546 GB, free: 125.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/1.032, allocations: 468.6 kB / 0.5465 GB, free: 124.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003458/1.036, allocations: 1.897 MB / 0.5483 GB, free: 124.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003786/1.039, allocations: 2.943 MB / 0.5512 GB, free: 122.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003727/1.043, allocations: 2.388 MB / 0.5535 GB, free: 121.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-05/1.043, allocations: 9.688 kB / 0.5535 GB, free: 121.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.009424/1.053, allocations: 6.241 MB / 0.5596 GB, free: 118.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/1.053, allocations: 24.62 kB / 0.5597 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.666e-05/1.053, allocations: 27.78 kB / 0.5597 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/1.055, allocations: 0.8364 MB / 0.5605 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/1.058, allocations: 0.8548 MB / 0.5613 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/1.069, allocations: 15.31 MB / 0.5763 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004473/1.073, allocations: 190.4 kB / 0.5765 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004923/1.074, allocations: 167.9 kB / 0.5766 GB, free: 105.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 8 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 440 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004966/1.079, allocations: 2.607 MB / 0.5792 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.08, allocations: 474.9 kB / 0.5796 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008566/1.089, allocations: 5.898 MB / 0.5854 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/1.089, allocations: 32 kB / 0.5854 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-05/1.089, allocations: 23.95 kB / 0.5854 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/1.089, allocations: 15.94 kB / 0.5855 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/1.11, allocations: 13.16 MB / 0.5983 GB, free: 86.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/1.11, allocations: 4 kB / 0.5983 GB, free: 86.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/1.111, allocations: 427.7 kB / 0.5987 GB, free: 86.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003099/1.114, allocations: 1.43 MB / 0.6001 GB, free: 85.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002313/1.115, allocations: 99.91 kB / 0.6002 GB, free: 84.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02108/1.136, allocations: 24.77 MB / 0.6244 GB, free: 59.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.136, allocations: 4 kB / 0.6244 GB, free: 59.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/1.148, allocations: 9.049 MB / 0.6332 GB, free: 49.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002959/1.151, allocations: 0.9794 MB / 0.6342 GB, free: 48.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008257/1.152, allocations: 87.98 kB / 0.6343 GB, free: 48.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/1.154, allocations: 191.9 kB / 0.6345 GB, free: 48.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006804/1.155, allocations: 334 kB / 0.6348 GB, free: 48.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.155, allocations: 100.1 kB / 0.6349 GB, free: 47.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004236/1.159, allocations: 3.025 MB / 0.6378 GB, free: 44.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.159, allocations: 0 / 0.6378 GB, free: 44.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006805/1.166, allocations: 1.471 MB / 0.6393 GB, free: 43.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 206 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(6,72.2%) 46,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01227/1.178, allocations: 10.79 MB / 0.6498 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007941/1.186, allocations: 5.846 MB / 0.6555 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/1.186, allocations: 1.875 kB / 0.6555 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006663/1.193, allocations: 4.302 MB / 0.6597 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00628/1.199, allocations: 1.205 MB / 0.6609 GB, free: 20.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2986/1.498, allocations: 67.99 MB / 0.7273 GB, free: 148.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005058/1.503, allocations: 5.298 MB / 0.7325 GB, free: 146.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00371/1.507, allocations: 1.045 MB / 0.7335 GB, free: 146.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003677/1.51, allocations: 3.142 MB / 0.7366 GB, free: 143.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.342e-06/1.511, allocations: 3.406 kB / 0.7366 GB, free: 143.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1811/1.692, allocations: 124.2 MB / 0.8578 GB, free: 29.78 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/1.692, allocations: 275.3 kB / 0.8581 GB, free: 29.42 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.883/6.575, allocations: 0 / 0.8581 GB, free: 29.42 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat does not exist to compare? outputFormat=mat