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.IMC_Initialize.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.IMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",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.0009748/0.0009747, allocations: 99.61 kB / 16.95 MB, free: 6.887 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.0009615/0.0009615, allocations: 185.9 kB / 17.84 MB, free: 6.137 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.535/1.535, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004652/0.0004653, allocations: 16 kB / 280.9 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1108, allocations: 47.57 MB / 328.5 MB, free: 3.969 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02912/0.14, allocations: 28.84 MB / 357.3 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.018/0.158, allocations: 8.331 MB / 365.6 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006693/0.1648, allocations: 195.2 kB / 365.8 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007138/0.1719, allocations: 1.639 MB / 367.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01168/0.1837, allocations: 3.067 MB / 370.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005553/0.1892, allocations: 1.399 MB / 371.9 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2146/0.4038, allocations: 15.82 MB / 387.8 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03102/0.4349, allocations: 17.61 MB / 405.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008351/0.4433, allocations: 4.832 MB / 410.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.4537, allocations: 5.529 MB / 415.7 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0023/0.456, allocations: 0.7305 MB / 416.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004228/0.4602, allocations: 1.066 MB / 417.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.4624, allocations: 2.414 MB / 419.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004482/0.4669, allocations: 2.413 MB / 422.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0208/0.4877, allocations: 21.09 MB / 443.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4877, allocations: 4 kB / 443.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4878, allocations: 4 kB / 443.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006366/0.4884, allocations: 0 / 443.5 MB, free: 4.602 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.03487/0.5233, allocations: 12.49 MB / 455.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.5234, allocations: 12.03 kB / 455.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007696/0.5311, allocations: 1.536 MB / 457.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04201/0.5731, allocations: 7.77 MB / 465.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01725/0.5904, allocations: 7.177 MB / 472.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000912/0.5913, allocations: 0.8063 MB / 473.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005658/0.597, allocations: 1.082 MB / 474.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04931/0.6463, allocations: 17.61 MB / 491.9 MB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004616/0.6468, allocations: 11.91 kB / 491.9 MB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004144/0.651, allocations: 449.9 kB / 492.4 MB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007833/0.6518, allocations: 0.6514 MB / 493 MB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03765/0.6894, allocations: 16.91 MB / 0.498 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4876/1.177, allocations: 57.29 MB / 0.5539 GB, free: 98.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02524/1.202, allocations: 40.01 MB / 0.593 GB, free: 64.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006618/1.209, allocations: 4.51 MB / 0.5974 GB, free: 63.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01966/1.229, allocations: 12.72 MB / 0.6098 GB, free: 55.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.325e-05/1.229, allocations: 80.69 kB / 0.6099 GB, free: 55.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 5.791e-06/1.229, allocations: 0 / 0.6099 GB, free: 55.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=423): time 0.05295/1.282, allocations: 23.65 MB / 0.633 GB, free: 40.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/1.282, allocations: 128.7 kB / 0.6331 GB, free: 39.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008676/1.291, allocations: 4.793 MB / 0.6378 GB, free: 35.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007517/1.291, allocations: 89.7 kB / 0.6379 GB, free: 34.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002512/1.294, allocations: 4.798 MB / 0.6426 GB, free: 30.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001572/1.296, allocations: 1.454 MB / 0.644 GB, free: 28.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008357/1.296, allocations: 124 kB / 0.6441 GB, free: 28.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004471/1.297, allocations: 0.5507 MB / 0.6446 GB, free: 28.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004674/1.302, allocations: 2.956 MB / 0.6475 GB, free: 25.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005762/1.307, allocations: 5.217 MB / 0.6526 GB, free: 18.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006162/1.313, allocations: 4.055 MB / 0.6566 GB, free: 14.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.659e-05/1.314, allocations: 23.94 kB / 0.6566 GB, free: 14.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01891/1.332, allocations: 10 MB / 0.6664 GB, free: 4.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.873e-05/1.333, allocations: 45.23 kB / 0.6664 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/1.333, allocations: 79.94 kB / 0.6665 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004151/1.337, allocations: 1.68 MB / 0.6681 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005305/1.342, allocations: 1.4 MB / 0.6695 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02459/1.367, allocations: 16.46 MB / 0.6856 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005866/1.373, allocations: 351.6 kB / 0.6859 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/1.374, allocations: 300 kB / 0.6862 GB, free: 15.81 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (710): * Single equations (assignments): 706 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,61.2%) 28,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009636/1.384, allocations: 3.951 MB / 0.6901 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/1.386, allocations: 0.4978 MB / 0.6905 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01764/1.404, allocations: 7.8 MB / 0.6982 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.865e-05/1.404, allocations: 44 kB / 0.6982 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.239e-05/1.404, allocations: 19.95 kB / 0.6982 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.783e-05/1.404, allocations: 23.92 kB / 0.6982 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2714/1.675, allocations: 17.52 MB / 0.7154 GB, free: 140.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/1.675, allocations: 12.83 kB / 0.7154 GB, free: 140.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003018/1.678, allocations: 0.7296 MB / 0.7161 GB, free: 140 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003638/1.682, allocations: 1.554 MB / 0.7176 GB, free: 139.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000432/1.682, allocations: 99.3 kB / 0.7177 GB, free: 139.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/1.7, allocations: 19.49 MB / 0.7367 GB, free: 125.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.7, allocations: 11.81 kB / 0.7367 GB, free: 125.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/1.716, allocations: 11.44 MB / 0.7479 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002919/1.719, allocations: 1.173 MB / 0.7491 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/1.72, allocations: 90.39 kB / 0.7491 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/1.723, allocations: 242.5 kB / 0.7494 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006819/1.724, allocations: 324.7 kB / 0.7497 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/1.724, allocations: 136.6 kB / 0.7498 GB, free: 119.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005074/1.729, allocations: 3.217 MB / 0.753 GB, free: 118.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.343e-06/1.729, allocations: 0 / 0.753 GB, free: 118.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009031/1.738, allocations: 1.9 MB / 0.7548 GB, free: 118.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,loadInertia.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 (364): * Single equations (assignments): 357 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,40.8%) 44,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01648/1.755, allocations: 12.17 MB / 0.7667 GB, free: 109.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01421/1.769, allocations: 8.198 MB / 0.7747 GB, free: 101.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.769, allocations: 0 / 0.7747 GB, free: 101.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008096/1.777, allocations: 4.651 MB / 0.7792 GB, free: 96.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008546/1.786, allocations: 1.265 MB / 0.7805 GB, free: 95.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1268/1.912, allocations: 58.62 MB / 0.8377 GB, free: 33.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01153/1.924, allocations: 6.845 MB / 0.8444 GB, free: 27.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006996/1.931, allocations: 1.928 MB / 0.8463 GB, free: 25.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006694/1.938, allocations: 4.03 MB / 0.8502 GB, free: 21.09 MB / 462.1 MB Notification: Performance of SimCode: time 1.854e-06/1.938, allocations: 0 / 0.8502 GB, free: 21.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3896/2.327, allocations: 148.3 MB / 0.995 GB, free: 32.71 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/2.328, allocations: 277.1 kB / 0.9953 GB, free: 32.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.863/8.191, allocations: 0 / 0.9953 GB, free: 32.34 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.IMC_Initialize_res.mat does not exist to compare? outputFormat=mat