Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0008683/0.0008684, allocations: 94.52 kB / 16.94 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001045, allocations: 185.8 kB / 17.83 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004711, allocations: 8 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09322/0.0937, allocations: 47.59 MB / 328.5 MB, free: 3.957 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02368/0.1174, allocations: 23.56 MB / 352 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01591/0.1334, allocations: 7.361 MB / 359.4 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005622/0.139, allocations: 159.4 kB / 359.6 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006201/0.1452, allocations: 1.476 MB / 361 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.1562, allocations: 2.804 MB / 363.8 MB, free: 484 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005779/0.162, allocations: 1.263 MB / 365.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02164/0.1837, allocations: 14.81 MB / 379.9 MB, free: 360 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2637/0.4474, allocations: 19.86 MB / 399.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008753/0.4562, allocations: 4.827 MB / 404.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009091/0.4653, allocations: 5.396 MB / 410 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003503/0.4689, allocations: 0.7219 MB / 410.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006258/0.4751, allocations: 1.072 MB / 411.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004665/0.4798, allocations: 2.276 MB / 414.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00513/0.485, allocations: 2.336 MB / 416.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02161/0.5066, allocations: 20.93 MB / 437.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.5067, allocations: 2.25 kB / 437.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5067, allocations: 0 / 437.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007623/0.5075, allocations: 0 / 437.3 MB, free: 9.781 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03751/0.545, allocations: 12.39 MB / 449.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.5451, allocations: 8.031 kB / 449.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007821/0.5529, allocations: 1.828 MB / 451.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05016/0.6031, allocations: 9.462 MB / 461 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01686/0.62, allocations: 6.814 MB / 467.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001254/0.6213, allocations: 0.8177 MB / 468.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006228/0.6276, allocations: 1.084 MB / 469.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05288/0.6805, allocations: 18.68 MB / 488.4 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005218/0.6811, allocations: 18.33 kB / 488.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005241/0.6863, allocations: 456.2 kB / 488.9 MB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008542/0.6872, allocations: 0.6989 MB / 489.6 MB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03903/0.7262, allocations: 18.13 MB / 0.4958 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3417/1.068, allocations: 60.15 MB / 0.5545 GB, free: 95.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04493/1.113, allocations: 46.68 MB / 0.6001 GB, free: 56.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01139/1.124, allocations: 4.312 MB / 0.6043 GB, free: 56.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03924/1.164, allocations: 12.47 MB / 0.6165 GB, free: 50.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.402e-05/1.164, allocations: 80.52 kB / 0.6166 GB, free: 50.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=391): time 1.266e-05/1.164, allocations: 0 / 0.6166 GB, free: 50.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=397): time 0.07296/1.237, allocations: 21.51 MB / 0.6376 GB, free: 37.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.937e-05/1.237, allocations: 97.53 kB / 0.6377 GB, free: 37.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/1.248, allocations: 4.308 MB / 0.6419 GB, free: 33.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001033/1.25, allocations: 89.7 kB / 0.642 GB, free: 33.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003518/1.253, allocations: 4.815 MB / 0.6467 GB, free: 28.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002018/1.255, allocations: 1.374 MB / 0.648 GB, free: 27.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/1.256, allocations: 124 kB / 0.6482 GB, free: 27.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005897/1.257, allocations: 0.5668 MB / 0.6487 GB, free: 26.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006922/1.264, allocations: 3.14 MB / 0.6518 GB, free: 23.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00867/1.272, allocations: 5.76 MB / 0.6574 GB, free: 16.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009413/1.282, allocations: 4.416 MB / 0.6617 GB, free: 12.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/1.282, allocations: 32 kB / 0.6617 GB, free: 12.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02614/1.308, allocations: 10.28 MB / 0.6718 GB, free: 1.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/1.308, allocations: 44 kB / 0.6718 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001875/1.309, allocations: 88 kB / 0.6719 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004691/1.313, allocations: 1.416 MB / 0.6733 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006771/1.32, allocations: 1.466 MB / 0.6747 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/1.338, allocations: 10.55 MB / 0.685 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006097/1.344, allocations: 403.3 kB / 0.6854 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001537/1.345, allocations: 328 kB / 0.6857 GB, free: 3.441 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (755): * Single equations (assignments): 750 * 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.01101/1.356, allocations: 4.181 MB / 0.6898 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001874/1.358, allocations: 450.5 kB / 0.6902 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/1.374, allocations: 7.418 MB / 0.6975 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01049/1.384, allocations: 6.075 MB / 0.7034 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/1.385, allocations: 12 kB / 0.7034 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-05/1.385, allocations: 23.86 kB / 0.7034 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2162/1.601, allocations: 16.44 MB / 0.7195 GB, free: 143.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/1.601, allocations: 2.375 kB / 0.7195 GB, free: 143.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002838/1.604, allocations: 0.7297 MB / 0.7202 GB, free: 143.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002966/1.607, allocations: 1.245 MB / 0.7214 GB, free: 143.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000347/1.607, allocations: 86.88 kB / 0.7215 GB, free: 143.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/1.618, allocations: 9.303 MB / 0.7306 GB, free: 138.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.618, allocations: 0 / 0.7306 GB, free: 138.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01458/1.633, allocations: 10.62 MB / 0.741 GB, free: 134.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002488/1.635, allocations: 1.069 MB / 0.742 GB, free: 133.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008917/1.636, allocations: 63.78 kB / 0.7421 GB, free: 133.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/1.638, allocations: 263.7 kB / 0.7423 GB, free: 133.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/1.639, allocations: 273.3 kB / 0.7426 GB, free: 133.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/1.639, allocations: 117.2 kB / 0.7427 GB, free: 133.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004371/1.644, allocations: 2.875 MB / 0.7455 GB, free: 132.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.644, allocations: 0 / 0.7455 GB, free: 132.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006205/1.65, allocations: 1.849 MB / 0.7473 GB, free: 132.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (363): * Single equations (assignments): 358 * 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.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0142/1.664, allocations: 11.34 MB / 0.7584 GB, free: 124.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01124/1.675, allocations: 7.968 MB / 0.7662 GB, free: 117.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.675, allocations: 0 / 0.7662 GB, free: 117.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005739/1.681, allocations: 3.682 MB / 0.7698 GB, free: 114.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006222/1.687, allocations: 1.038 MB / 0.7708 GB, free: 113.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1163/1.804, allocations: 54.02 MB / 0.8235 GB, free: 56.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01642/1.82, allocations: 7.029 MB / 0.8304 GB, free: 49.47 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.009371/1.83, allocations: 2.248 MB / 0.8326 GB, free: 47.22 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00875/1.838, allocations: 3.862 MB / 0.8364 GB, free: 43.36 MB / 462.1 MB Notification: Performance of SimCode: time 2.144e-06/1.838, allocations: 1.859 kB / 0.8364 GB, free: 43.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3661/2.205, allocations: 136.3 MB / 0.9694 GB, free: 76.53 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/2.205, allocations: 278 kB / 0.9697 GB, free: 76.17 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.344/7.549, allocations: 3.906 kB / 0.9697 GB, free: 76.16 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat does not exist to compare? outputFormat=mat