Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 99.38 kB / 16.99 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.001629/0.00163, allocations: 202.3 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.365/1.365, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002863, allocations: 8 kB / 306.7 MB, free: 1.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1121, allocations: 51.5 MB / 358.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2296/0.3417, allocations: 31.15 MB / 389.4 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02616/0.368, allocations: 9.896 MB / 399.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00767/0.3757, allocations: 251.2 kB / 399.5 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009363/0.3851, allocations: 2.096 MB / 401.6 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01631/0.4014, allocations: 3.54 MB / 405.2 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008432/0.4099, allocations: 1.653 MB / 406.8 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02768/0.4376, allocations: 13.78 MB / 420.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05004/0.4877, allocations: 24.41 MB / 445 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.4981, allocations: 5.673 MB / 450.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01167/0.5098, allocations: 6.257 MB / 456.9 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004704/0.5145, allocations: 0.9336 MB / 457.9 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008891/0.5235, allocations: 1.265 MB / 459.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006412/0.5299, allocations: 2.881 MB / 462 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00683/0.5368, allocations: 3.088 MB / 465.1 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02797/0.5647, allocations: 27 MB / 492.1 MB, free: 6.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5648, allocations: 0 / 492.1 MB, free: 6.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5648, allocations: 0 / 492.1 MB, free: 6.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001079/0.5659, allocations: 0 / 492.1 MB, free: 6.254 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.0482/0.6141, allocations: 15.7 MB / 0.4959 GB, free: 6.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.6141, allocations: 8.031 kB / 0.4959 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008421/0.6226, allocations: 2.293 MB / 0.4982 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04775/0.6704, allocations: 8.254 MB / 0.5062 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02292/0.6933, allocations: 9.797 MB / 0.5158 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001121/0.6945, allocations: 1.064 MB / 0.5168 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005238/0.6997, allocations: 1.398 MB / 0.5182 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4749/1.175, allocations: 22.55 MB / 0.5402 GB, free: 109.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005238/1.175, allocations: 23.94 kB / 0.5402 GB, free: 109.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003341/1.179, allocations: 0.5764 MB / 0.5408 GB, free: 109.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008648/1.179, allocations: 0.7788 MB / 0.5415 GB, free: 109.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04097/1.22, allocations: 20.94 MB / 0.562 GB, free: 101.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1048/1.325, allocations: 73.68 MB / 0.6339 GB, free: 37.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0257/1.351, allocations: 42.69 MB / 0.6756 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0239/1.375, allocations: 12.73 MB / 0.6881 GB, free: 9.406 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.513e-05/1.375, allocations: 98.73 kB / 0.6882 GB, free: 9.301 MB / 478.1 MB Notification: Performance of pre-optimization done (n=514): time 5.911e-06/1.375, allocations: 0 / 0.6882 GB, free: 9.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=522): time 0.06263/1.438, allocations: 27.4 MB / 0.7149 GB, free: 13.51 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/1.438, allocations: 137.3 kB / 0.715 GB, free: 13.36 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009426/1.447, allocations: 5.667 MB / 0.7206 GB, free: 7.711 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001082/1.448, allocations: 113.7 kB / 0.7207 GB, free: 7.594 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004729/1.453, allocations: 6.148 MB / 0.7267 GB, free: 1.41 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.2084/1.662, allocations: 1.772 MB / 0.7284 GB, free: 163.4 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/1.663, allocations: 155.1 kB / 0.7286 GB, free: 163.4 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0008743/1.664, allocations: 0.6068 MB / 0.7292 GB, free: 163.1 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008262/1.672, allocations: 3.693 MB / 0.7328 GB, free: 163.1 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009842/1.682, allocations: 6.509 MB / 0.7391 GB, free: 158.9 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008899/1.691, allocations: 5.078 MB / 0.7441 GB, free: 156.8 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/1.691, allocations: 30.69 kB / 0.7441 GB, free: 156.8 MB / 0.4982 GB Notification: Performance of matching and sorting (n=976) (initialization): time 0.0196/1.711, allocations: 12.23 MB / 0.7561 GB, free: 152.1 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/1.711, allocations: 42.03 kB / 0.7561 GB, free: 152.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/1.711, allocations: 97.16 kB / 0.7562 GB, free: 152.1 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003569/1.714, allocations: 1.602 MB / 0.7578 GB, free: 151.7 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005303/1.72, allocations: 1.674 MB / 0.7594 GB, free: 151.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/1.737, allocations: 18.63 MB / 0.7776 GB, free: 139.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004824/1.742, allocations: 437.6 kB / 0.778 GB, free: 139.3 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004791/1.742, allocations: 366.1 kB / 0.7784 GB, free: 139.2 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 421 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 866 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(12,52.8%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006148/1.748, allocations: 5.194 MB / 0.7834 GB, free: 136.7 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008402/1.749, allocations: 0.6001 MB / 0.784 GB, free: 136.7 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/1.762, allocations: 9.571 MB / 0.7934 GB, free: 132.1 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007178/1.769, allocations: 5.981 MB / 0.7992 GB, free: 127 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.074e-05/1.769, allocations: 20 kB / 0.7992 GB, free: 126.9 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.101e-05/1.769, allocations: 26.77 kB / 0.7992 GB, free: 126.9 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.039/1.808, allocations: 21.3 MB / 0.82 GB, free: 107.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.225e-05/1.808, allocations: 16.09 kB / 0.8201 GB, free: 107.1 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003839/1.812, allocations: 0.8815 MB / 0.8209 GB, free: 106.2 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003997/1.816, allocations: 1.627 MB / 0.8225 GB, free: 104.6 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008043/1.817, allocations: 131.9 kB / 0.8226 GB, free: 104.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01976/1.836, allocations: 21.8 MB / 0.8439 GB, free: 81.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.836, allocations: 11.94 kB / 0.8439 GB, free: 81.89 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01924/1.856, allocations: 14.91 MB / 0.8585 GB, free: 66.45 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004033/1.86, allocations: 1.372 MB / 0.8598 GB, free: 65.05 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/1.861, allocations: 112.1 kB / 0.8599 GB, free: 64.94 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003323/1.864, allocations: 303.6 kB / 0.8602 GB, free: 64.64 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000807/1.865, allocations: 416.4 kB / 0.8606 GB, free: 64.23 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003236/1.866, allocations: 160 kB / 0.8608 GB, free: 64.07 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005428/1.871, allocations: 3.806 MB / 0.8645 GB, free: 60.3 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.3e-07/1.871, allocations: 0 / 0.8645 GB, free: 60.3 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009315/1.88, allocations: 2.342 MB / 0.8668 GB, free: 57.96 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (451): * Single equations (assignments): 440 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1,(12,54.2%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01937/1.9, allocations: 16.89 MB / 0.8833 GB, free: 40.61 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01592/1.916, allocations: 10.04 MB / 0.8931 GB, free: 30.48 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/1.916, allocations: 0 / 0.8931 GB, free: 30.48 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.008408/1.924, allocations: 5.536 MB / 0.8985 GB, free: 24.86 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007025/1.931, allocations: 1.487 MB / 0.8999 GB, free: 23.41 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4078/2.339, allocations: 137.6 MB / 1.034 GB, free: 63.58 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01909/2.358, allocations: 9.089 MB / 1.043 GB, free: 55.53 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01028/2.369, allocations: 2.543 MB / 1.046 GB, free: 52.98 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009522/2.378, allocations: 5.143 MB / 1.051 GB, free: 47.84 MB / 0.4982 GB Notification: Performance of SimCode: time 1.252e-06/2.378, allocations: 0 / 1.051 GB, free: 47.84 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6194/2.998, allocations: 181.6 MB / 1.228 GB, free: 46.42 MB / 0.4982 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/2.998, allocations: 251 kB / 1.228 GB, free: 46.09 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.998/8.996, allocations: 2.516 kB / 1.228 GB, free: 46.09 MB / 0.4982 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat