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.001276/0.001276, allocations: 99.08 kB / 16.94 MB, free: 5.961 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.001333/0.001333, allocations: 177.9 kB / 17.82 MB, free: 5.648 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.401/1.401, allocations: 205.4 MB / 224 MB, free: 13.17 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.00045/0.0004501, allocations: 12.22 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1052, allocations: 47.58 MB / 328.4 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02261/0.1278, allocations: 21.66 MB / 350.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01984/0.1477, allocations: 7.613 MB / 357.7 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00563/0.1534, allocations: 163.4 kB / 357.9 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006678/0.1601, allocations: 1.637 MB / 359.5 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.1713, allocations: 2.828 MB / 362.3 MB, free: 1.965 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005815/0.1772, allocations: 1.29 MB / 363.6 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01906/0.1962, allocations: 10.92 MB / 374.6 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2263/0.4226, allocations: 19.63 MB / 394.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008611/0.4312, allocations: 4.409 MB / 398.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009239/0.4405, allocations: 4.85 MB / 403.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004371/0.4449, allocations: 0.7188 MB / 404.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007497/0.4524, allocations: 1.009 MB / 405.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004903/0.4574, allocations: 2.193 MB / 407.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005955/0.4634, allocations: 2.336 MB / 409.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02035/0.4837, allocations: 20.87 MB / 430.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4838, allocations: 4 kB / 430.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4838, allocations: 0 / 430.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007997/0.4846, allocations: 0 / 430.6 MB, free: 13.15 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.03856/0.5232, allocations: 12.32 MB / 442.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.5233, allocations: 8.031 kB / 442.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007309/0.5306, allocations: 1.827 MB / 444.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05218/0.5828, allocations: 9.252 MB / 454 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0176/0.6004, allocations: 6.809 MB / 460.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008685/0.6013, allocations: 0.8168 MB / 461.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004851/0.6062, allocations: 1.076 MB / 462.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05253/0.6587, allocations: 18.6 MB / 481.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004514/0.6592, allocations: 11.91 kB / 481.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005116/0.6644, allocations: 454.8 kB / 481.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008576/0.6652, allocations: 0.7066 MB / 482.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04082/0.7061, allocations: 18.15 MB / 0.4889 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4955/1.202, allocations: 60.09 MB / 0.5476 GB, free: 93.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03161/1.233, allocations: 46.68 MB / 0.5931 GB, free: 54.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02395/1.257, allocations: 12.56 MB / 0.6054 GB, free: 51.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.064e-05/1.257, allocations: 77.17 kB / 0.6055 GB, free: 51.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=395): time 5.18e-06/1.257, allocations: 3.938 kB / 0.6055 GB, free: 51.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=401): time 0.0428/1.3, allocations: 19.76 MB / 0.6248 GB, free: 41.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/1.3, allocations: 93.91 kB / 0.6249 GB, free: 41.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006077/1.306, allocations: 4.274 MB / 0.629 GB, free: 39.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008815/1.307, allocations: 93.48 kB / 0.6291 GB, free: 39.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002464/1.31, allocations: 4.799 MB / 0.6338 GB, free: 34.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001565/1.311, allocations: 1.384 MB / 0.6352 GB, free: 33.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003722/1.312, allocations: 135.1 kB / 0.6353 GB, free: 33.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002784/1.312, allocations: 0.565 MB / 0.6358 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004294/1.316, allocations: 3.159 MB / 0.6389 GB, free: 31.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005753/1.322, allocations: 5.768 MB / 0.6446 GB, free: 26.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006083/1.328, allocations: 4.45 MB / 0.6489 GB, free: 21.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.144e-05/1.328, allocations: 27.94 kB / 0.6489 GB, free: 21.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01812/1.346, allocations: 10.35 MB / 0.659 GB, free: 11.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.414e-05/1.346, allocations: 43.94 kB / 0.6591 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/1.347, allocations: 88 kB / 0.6592 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/1.35, allocations: 1.412 MB / 0.6605 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00563/1.356, allocations: 1.466 MB / 0.662 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/1.37, allocations: 10.86 MB / 0.6726 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006234/1.376, allocations: 395.3 kB / 0.6729 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/1.378, allocations: 332 kB / 0.6733 GB, free: 12.6 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 (759): * Single equations (assignments): 754 * 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.01034/1.388, allocations: 4.188 MB / 0.6774 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001726/1.39, allocations: 450.5 kB / 0.6778 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/1.404, allocations: 7.466 MB / 0.6851 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01115/1.415, allocations: 6.13 MB / 0.6911 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/1.415, allocations: 12 kB / 0.6911 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.656e-05/1.415, allocations: 23.91 kB / 0.6911 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2606/1.676, allocations: 16.53 MB / 0.7072 GB, free: 140 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/1.676, allocations: 2 kB / 0.7072 GB, free: 140 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003636/1.68, allocations: 0.7345 MB / 0.708 GB, free: 140 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00396/1.684, allocations: 1.245 MB / 0.7092 GB, free: 139.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008492/1.685, allocations: 86.33 kB / 0.7093 GB, free: 139.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/1.698, allocations: 9.619 MB / 0.7187 GB, free: 136.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.698, allocations: 3.938 kB / 0.7187 GB, free: 136.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/1.714, allocations: 10.8 MB / 0.7292 GB, free: 132.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002754/1.717, allocations: 1.064 MB / 0.7302 GB, free: 131.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009165/1.718, allocations: 75.19 kB / 0.7303 GB, free: 131.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/1.72, allocations: 259.8 kB / 0.7306 GB, free: 131.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006092/1.721, allocations: 271.8 kB / 0.7308 GB, free: 131.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002459/1.721, allocations: 120.2 kB / 0.7309 GB, free: 131.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004226/1.725, allocations: 2.841 MB / 0.7337 GB, free: 130.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.11e-07/1.725, allocations: 3.906 kB / 0.7337 GB, free: 130.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007219/1.732, allocations: 1.842 MB / 0.7355 GB, free: 130.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 (367): * Single equations (assignments): 362 * 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,40.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01529/1.748, allocations: 11.7 MB / 0.7469 GB, free: 125.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01177/1.76, allocations: 8.02 MB / 0.7548 GB, free: 120.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/1.76, allocations: 0 / 0.7548 GB, free: 120.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006297/1.766, allocations: 3.714 MB / 0.7584 GB, free: 117.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005946/1.772, allocations: 0.9882 MB / 0.7594 GB, free: 116.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1203/1.892, allocations: 113.2 MB / 0.8699 GB, free: 1.453 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1894/2.082, allocations: 7.204 MB / 0.8769 GB, free: 146.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007367/2.089, allocations: 2.252 MB / 0.8791 GB, free: 146.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006049/2.095, allocations: 3.868 MB / 0.8829 GB, free: 145.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/2.095, allocations: 0 / 0.8829 GB, free: 145.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1628/2.258, allocations: 135.9 MB / 1.016 GB, free: 28.9 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/2.258, allocations: 267.8 kB / 1.016 GB, free: 28.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.866/7.124, allocations: 3.938 kB / 1.016 GB, free: 28.54 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