Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001003, allocations: 95.72 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.0009726/0.0009727, allocations: 204.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.337/1.337, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002212/0.0002212, allocations: 4 kB / 306.7 MB, free: 1.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1307, allocations: 51.5 MB / 358.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2222/0.3529, allocations: 21.6 MB / 379.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01655/0.3695, allocations: 7.756 MB / 387.6 MB, free: 5.789 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006308/0.3759, allocations: 172.3 kB / 387.8 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007139/0.383, allocations: 1.635 MB / 389.4 MB, free: 4.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01363/0.3967, allocations: 2.795 MB / 392.2 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006835/0.4035, allocations: 1.3 MB / 393.5 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0215/0.4251, allocations: 10.93 MB / 404.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03899/0.4641, allocations: 19.6 MB / 424 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01073/0.4749, allocations: 4.358 MB / 428.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/0.485, allocations: 4.778 MB / 433.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004029/0.489, allocations: 0.7188 MB / 433.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007318/0.4964, allocations: 1.035 MB / 434.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005534/0.5019, allocations: 2.142 MB / 437.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006241/0.5082, allocations: 2.317 MB / 439.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02689/0.5352, allocations: 20.9 MB / 460.3 MB, free: 6.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5352, allocations: 0 / 460.3 MB, free: 6.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5352, allocations: 0 / 460.3 MB, free: 6.207 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0009051/0.5361, allocations: 0 / 460.3 MB, free: 6.207 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03816/0.5743, allocations: 12.22 MB / 472.5 MB, free: 9.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.5744, allocations: 8.031 kB / 472.5 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008703/0.5831, allocations: 1.788 MB / 474.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04663/0.6297, allocations: 8.281 MB / 482.6 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01934/0.6491, allocations: 7.388 MB / 490 MB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009201/0.6501, allocations: 0.8029 MB / 490.8 MB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005337/0.6555, allocations: 1.062 MB / 491.8 MB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06257/0.718, allocations: 18.13 MB / 0.498 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006987/0.7188, allocations: 15.89 kB / 0.498 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004954/0.7238, allocations: 444 kB / 0.4984 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009664/0.7248, allocations: 0.6788 MB / 0.4991 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04612/0.7709, allocations: 17.47 MB / 0.5162 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4012/1.172, allocations: 59.95 MB / 0.5747 GB, free: 95.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02708/1.199, allocations: 37.43 MB / 0.6113 GB, free: 60.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008127/1.2, allocations: 278.8 kB / 0.6115 GB, free: 59.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.739e-05/1.2, allocations: 93.52 kB / 0.6116 GB, free: 59.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=524): time 6.933e-06/1.2, allocations: 0 / 0.6116 GB, free: 59.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=530): time 0.04853/1.249, allocations: 22.15 MB / 0.6332 GB, free: 43.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/1.249, allocations: 103.5 kB / 0.6333 GB, free: 43.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006267/1.255, allocations: 4.116 MB / 0.6374 GB, free: 39.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00111/1.256, allocations: 117.6 kB / 0.6375 GB, free: 39.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002267/1.259, allocations: 4.5 MB / 0.6419 GB, free: 35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002527/1.261, allocations: 1.797 MB / 0.6436 GB, free: 33.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004902/1.262, allocations: 144 kB / 0.6438 GB, free: 33.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004625/1.262, allocations: 0.5918 MB / 0.6443 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005178/1.267, allocations: 3.477 MB / 0.6477 GB, free: 29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006842/1.274, allocations: 5.88 MB / 0.6535 GB, free: 22.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006825/1.281, allocations: 4.806 MB / 0.6582 GB, free: 17.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.485e-05/1.281, allocations: 24 kB / 0.6582 GB, free: 17.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01756/1.299, allocations: 10.98 MB / 0.6689 GB, free: 6.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.454e-05/1.299, allocations: 40 kB / 0.669 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/1.299, allocations: 76 kB / 0.669 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003402/1.302, allocations: 1.41 MB / 0.6704 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006397/1.309, allocations: 1.615 MB / 0.672 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/1.325, allocations: 10.89 MB / 0.6826 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006803/1.332, allocations: 415.3 kB / 0.683 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/1.334, allocations: 335.9 kB / 0.6833 GB, free: 7.18 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (843): * Single equations (assignments): 838 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01/1.344, allocations: 4.169 MB / 0.6874 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/1.346, allocations: 478.1 kB / 0.6879 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02063/1.366, allocations: 8.562 MB / 0.6962 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01659/1.383, allocations: 7.152 MB / 0.7032 GB, free: 2.617 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.316e-05/1.383, allocations: 12 kB / 0.7032 GB, free: 2.605 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001511/1.383, allocations: 31.88 kB / 0.7032 GB, free: 2.574 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3302/1.713, allocations: 19.38 MB / 0.7222 GB, free: 159.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.91e-05/1.714, allocations: 2.812 kB / 0.7222 GB, free: 159.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00487/1.718, allocations: 0.9433 MB / 0.7231 GB, free: 159.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003759/1.722, allocations: 1.249 MB / 0.7243 GB, free: 159.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009987/1.723, allocations: 112.5 kB / 0.7244 GB, free: 159.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/1.739, allocations: 9.625 MB / 0.7338 GB, free: 157.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.739, allocations: 2.438 kB / 0.7338 GB, free: 157.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01952/1.759, allocations: 12.64 MB / 0.7462 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003448/1.762, allocations: 1.171 MB / 0.7473 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009492/1.763, allocations: 93.5 kB / 0.7474 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/1.766, allocations: 283.6 kB / 0.7477 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008574/1.767, allocations: 348.4 kB / 0.748 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003313/1.767, allocations: 158.2 kB / 0.7482 GB, free: 151.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006479/1.774, allocations: 2.757 MB / 0.7508 GB, free: 150.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.774, allocations: 0 / 0.7508 GB, free: 150.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01081/1.784, allocations: 1.935 MB / 0.7527 GB, free: 150.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.phi) * 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 (502): * Single equations (assignments): 497 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01787/1.802, allocations: 13.89 MB / 0.7663 GB, free: 143.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0134/1.816, allocations: 8.807 MB / 0.7749 GB, free: 137.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/1.816, allocations: 0 / 0.7749 GB, free: 137.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006799/1.823, allocations: 4.213 MB / 0.779 GB, free: 133.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005161/1.828, allocations: 0.9968 MB / 0.78 GB, free: 132.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1289/1.957, allocations: 108.8 MB / 0.8862 GB, free: 20.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005872/1.963, allocations: 7.177 MB / 0.8932 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006088/1.969, allocations: 2.329 MB / 0.8955 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005169/1.974, allocations: 3.866 MB / 0.8993 GB, free: 7.531 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/1.974, allocations: 0 / 0.8993 GB, free: 7.531 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7907/2.765, allocations: 144 MB / 1.04 GB, free: 58.92 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/2.765, allocations: 271.4 kB / 1.04 GB, free: 58.56 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.763/8.528, allocations: 4 kB / 1.04 GB, free: 58.56 MB / 494.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat does not exist to compare? outputFormat=mat