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.0008834/0.0008835, allocations: 97.12 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 194 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002421/0.0002422, allocations: 7.984 kB / 306.9 MB, free: 1.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1187, allocations: 51.49 MB / 358.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase): time 0.2223/0.341, allocations: 22.32 MB / 380.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.3536, allocations: 6.465 MB / 387.1 MB, free: 6.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004838/0.3585, allocations: 158.8 kB / 387.3 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004742/0.3632, allocations: 1.169 MB / 388.5 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007901/0.3712, allocations: 1.881 MB / 390.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004104/0.3753, allocations: 0.9658 MB / 391.3 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01714/0.3924, allocations: 10.2 MB / 401.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009334/0.4018, allocations: 5.749 MB / 407.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006832/0.4087, allocations: 3.179 MB / 410.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007825/0.4166, allocations: 4.108 MB / 414.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002383/0.419, allocations: 0.5156 MB / 415 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004594/0.4236, allocations: 0.7185 MB / 415.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002556/0.4262, allocations: 2.005 MB / 417.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003743/0.4299, allocations: 1.853 MB / 419.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01676/0.4467, allocations: 14.07 MB / 433.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4467, allocations: 7.938 kB / 433.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4468, allocations: 0 / 433.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004499/0.4472, allocations: 0 / 433.7 MB, free: 1.332 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.02347/0.4707, allocations: 9.097 MB / 442.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4707, allocations: 12.03 kB / 442.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003421/0.4742, allocations: 1.099 MB / 443.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.4863, allocations: 2.155 MB / 446.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.4972, allocations: 5.554 MB / 451.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00057/0.4978, allocations: 0.5862 MB / 452.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002237/0.5, allocations: 0.785 MB / 453 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/0.5248, allocations: 11.29 MB / 464.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000163/0.525, allocations: 19.83 kB / 464.3 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008734/0.5259, allocations: 328 kB / 464.6 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003396/0.5262, allocations: 384.2 kB / 465 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0205/0.5467, allocations: 9.89 MB / 474.9 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0668/0.6135, allocations: 34.87 MB / 0.4978 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02137/0.635, allocations: 21.04 MB / 0.5184 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008545/0.6436, allocations: 4.409 MB / 0.5227 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4217/1.065, allocations: 10.73 MB / 0.5332 GB, free: 130.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/1.065, allocations: 66.62 kB / 0.5332 GB, free: 130.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 6.082e-06/1.065, allocations: 0.7188 kB / 0.5332 GB, free: 130.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=325): time 0.0406/1.106, allocations: 16.12 MB / 0.549 GB, free: 125.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/1.106, allocations: 86.03 kB / 0.549 GB, free: 125.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008296/1.115, allocations: 4.517 MB / 0.5535 GB, free: 123.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008283/1.115, allocations: 89.23 kB / 0.5535 GB, free: 123.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002477/1.118, allocations: 3.597 MB / 0.5571 GB, free: 120.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/1.119, allocations: 1.096 MB / 0.5581 GB, free: 120 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/1.119, allocations: 78.41 kB / 0.5582 GB, free: 119.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/1.12, allocations: 471.3 kB / 0.5586 GB, free: 119.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003357/1.123, allocations: 1.893 MB / 0.5605 GB, free: 118.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003472/1.126, allocations: 2.991 MB / 0.5634 GB, free: 116.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00346/1.13, allocations: 2.396 MB / 0.5658 GB, free: 115.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.025e-05/1.13, allocations: 7.781 kB / 0.5658 GB, free: 115.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01064/1.141, allocations: 6.427 MB / 0.572 GB, free: 112.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.932e-05/1.141, allocations: 23.84 kB / 0.5721 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.038e-05/1.141, allocations: 31.19 kB / 0.5721 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002256/1.143, allocations: 1.024 MB / 0.5731 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003171/1.146, allocations: 0.8135 MB / 0.5739 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/1.159, allocations: 16.54 MB / 0.59 GB, free: 95.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003762/1.163, allocations: 195.8 kB / 0.5902 GB, free: 95.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005514/1.163, allocations: 164.9 kB / 0.5904 GB, free: 95.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * 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 (434): * Single equations (assignments): 425 * 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%) 8,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,93.8%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004868/1.168, allocations: 2.604 MB / 0.5929 GB, free: 92.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/1.17, allocations: 466.3 kB / 0.5934 GB, free: 92.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008994/1.179, allocations: 6.035 MB / 0.5993 GB, free: 86.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/1.179, allocations: 32 kB / 0.5993 GB, free: 86.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.104e-05/1.179, allocations: 20 kB / 0.5993 GB, free: 86.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.714e-05/1.179, allocations: 15.94 kB / 0.5993 GB, free: 86.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02102/1.2, allocations: 13.22 MB / 0.6122 GB, free: 72.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/1.2, allocations: 7.938 kB / 0.6123 GB, free: 72.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.201, allocations: 383.9 kB / 0.6126 GB, free: 72.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003643/1.205, allocations: 1.618 MB / 0.6142 GB, free: 70.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002917/1.205, allocations: 95.95 kB / 0.6143 GB, free: 70.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02137/1.227, allocations: 25.63 MB / 0.6393 GB, free: 44.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.227, allocations: 4 kB / 0.6393 GB, free: 44.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.239, allocations: 8.607 MB / 0.6477 GB, free: 35.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00341/1.242, allocations: 0.9756 MB / 0.6487 GB, free: 34.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001682/1.244, allocations: 79.98 kB / 0.6488 GB, free: 34.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/1.247, allocations: 187.9 kB / 0.6489 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009824/1.248, allocations: 325.9 kB / 0.6492 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/1.248, allocations: 94.59 kB / 0.6493 GB, free: 33.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005198/1.253, allocations: 3.081 MB / 0.6523 GB, free: 30.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.91e-07/1.253, allocations: 0 / 0.6523 GB, free: 30.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006954/1.26, allocations: 1.479 MB / 0.6538 GB, free: 28.99 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (194): * Single equations (assignments): 185 * 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 {(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1,(6,88.9%) 46,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01342/1.274, allocations: 9.304 MB / 0.6629 GB, free: 19.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008565/1.282, allocations: 5.878 MB / 0.6686 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.282, allocations: 0.875 kB / 0.6686 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005874/1.288, allocations: 4.229 MB / 0.6727 GB, free: 9.109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007257/1.296, allocations: 1.268 MB / 0.674 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.342/1.638, allocations: 47.56 MB / 0.7204 GB, free: 146.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008718/1.646, allocations: 5.148 MB / 0.7255 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004859/1.651, allocations: 1.031 MB / 0.7265 GB, free: 145.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005102/1.656, allocations: 3.071 MB / 0.7295 GB, free: 143.5 MB / 478.1 MB Notification: Performance of SimCode: time 2.024e-06/1.656, allocations: 0 / 0.7295 GB, free: 143.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1811/1.838, allocations: 125.8 MB / 0.8523 GB, free: 35.91 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/1.838, allocations: 287 kB / 0.8526 GB, free: 35.55 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.04/6.878, allocations: 0 / 0.8526 GB, free: 35.55 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