Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_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_4_1_0-beta_om_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.001986/0.001986, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002348/0.002348, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.45/1.45, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.89 kB / 358.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2637, allocations: 50.54 MB / 409.1 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02918/0.2929, allocations: 27 MB / 436.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.3089, allocations: 8.156 MB / 444.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004475/0.3134, allocations: 203.4 kB / 444.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02195/0.3354, allocations: 9.37 MB / 453.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.3465, allocations: 3.299 MB / 457.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005892/0.3524, allocations: 1.835 MB / 458.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01907/0.3715, allocations: 12.24 MB / 471.2 MB, free: 3.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03619/0.4077, allocations: 24.39 MB / 495.6 MB, free: 10.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009873/0.4176, allocations: 6.456 MB / 0.4903 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01229/0.43, allocations: 7.207 MB / 0.4973 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005003/0.435, allocations: 1.844 MB / 0.4991 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006899/0.4419, allocations: 2.222 MB / 0.5013 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005751/0.4477, allocations: 3.609 MB / 0.5048 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01228/0.46, allocations: 6.923 MB / 0.5116 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02891/0.489, allocations: 24.81 MB / 0.5358 GB, free: 5.254 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.489, allocations: 0 / 0.5358 GB, free: 5.254 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.489, allocations: 4 kB / 0.5358 GB, free: 5.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006011/0.4896, allocations: 3.984 kB / 0.5358 GB, free: 5.246 MB / 462.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.4317/0.9213, allocations: 14.76 MB / 0.5502 GB, free: 107.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.9214, allocations: 7.938 kB / 0.5502 GB, free: 107.9 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005382/0.9268, allocations: 1.789 MB / 0.552 GB, free: 106.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04611/0.9729, allocations: 8.551 MB / 0.5603 GB, free: 101 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01283/0.9858, allocations: 7.669 MB / 0.5678 GB, free: 93.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004636/0.9863, allocations: 0.806 MB / 0.5686 GB, free: 92.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003221/0.9895, allocations: 1.062 MB / 0.5696 GB, free: 91.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03642/1.026, allocations: 18.29 MB / 0.5875 GB, free: 73.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003499/1.026, allocations: 23.83 kB / 0.5875 GB, free: 73.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002815/1.029, allocations: 451.1 kB / 0.5879 GB, free: 73.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00048/1.03, allocations: 0.6672 MB / 0.5886 GB, free: 72.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02927/1.059, allocations: 17.54 MB / 0.6057 GB, free: 54.93 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08261/1.142, allocations: 59.34 MB / 0.6637 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04128/1.183, allocations: 37.47 MB / 0.7003 GB, free: 1.125 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007526/1.19, allocations: 4.113 MB / 0.7043 GB, free: 12.99 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/1.191, allocations: 270.1 kB / 0.7045 GB, free: 12.69 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.148e-05/1.191, allocations: 90.61 kB / 0.7046 GB, free: 12.59 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 6.853e-06/1.191, allocations: 4 kB / 0.7046 GB, free: 12.58 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.05211/1.243, allocations: 21.58 MB / 0.7257 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/1.243, allocations: 103.5 kB / 0.7258 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007699/1.251, allocations: 4.191 MB / 0.7299 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000949/1.252, allocations: 109.7 kB / 0.73 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004275/1.256, allocations: 4.667 MB / 0.7346 GB, free: 13.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002733/1.259, allocations: 1.863 MB / 0.7364 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00269/1.262, allocations: 1.359 MB / 0.7377 GB, free: 10.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.262, allocations: 301.1 kB / 0.738 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00584/1.268, allocations: 3.449 MB / 0.7414 GB, free: 6.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2221/1.49, allocations: 5.871 MB / 0.7471 GB, free: 182.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/1.502, allocations: 10.03 MB / 0.7569 GB, free: 177.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.375e-05/1.502, allocations: 19.81 kB / 0.7569 GB, free: 177.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0148/1.517, allocations: 10.96 MB / 0.7676 GB, free: 173.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/1.517, allocations: 39.06 kB / 0.7676 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/1.517, allocations: 77.88 kB / 0.7677 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003417/1.521, allocations: 1.445 MB / 0.7691 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005298/1.526, allocations: 1.607 MB / 0.7707 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/1.54, allocations: 11.5 MB / 0.7819 GB, free: 166.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004647/1.545, allocations: 420.8 kB / 0.7823 GB, free: 166.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006206/1.546, allocations: 330.1 kB / 0.7826 GB, free: 166.7 MB / 0.545 GB 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005225/1.551, allocations: 4.161 MB / 0.7867 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009011/1.552, allocations: 0.4889 MB / 0.7872 GB, free: 163.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/1.563, allocations: 8.473 MB / 0.7955 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008811/1.572, allocations: 7.089 MB / 0.8024 GB, free: 150.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/1.572, allocations: 12 kB / 0.8024 GB, free: 150.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.301e-05/1.572, allocations: 26.48 kB / 0.8024 GB, free: 150.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02582/1.598, allocations: 18.77 MB / 0.8208 GB, free: 131.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/1.598, allocations: 6.469 kB / 0.8208 GB, free: 131.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003514/1.602, allocations: 0.9399 MB / 0.8217 GB, free: 130.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003208/1.605, allocations: 1.297 MB / 0.8229 GB, free: 129.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005134/1.605, allocations: 112 kB / 0.823 GB, free: 129.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/1.617, allocations: 10.19 MB / 0.833 GB, free: 119.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.617, allocations: 7.938 kB / 0.833 GB, free: 119.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/1.632, allocations: 12.3 MB / 0.845 GB, free: 106.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002893/1.635, allocations: 1.183 MB / 0.8462 GB, free: 105.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009004/1.636, allocations: 92 kB / 0.8463 GB, free: 105.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002615/1.639, allocations: 275.8 kB / 0.8465 GB, free: 105.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007205/1.64, allocations: 348.4 kB / 0.8469 GB, free: 104.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003007/1.64, allocations: 148 kB / 0.847 GB, free: 104.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003625/1.643, allocations: 2.822 MB / 0.8498 GB, free: 101.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/1.643, allocations: 4 kB / 0.8498 GB, free: 101.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006807/1.65, allocations: 1.935 MB / 0.8516 GB, free: 99.98 MB / 0.545 GB 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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01575/1.666, allocations: 13.05 MB / 0.8644 GB, free: 86.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01184/1.678, allocations: 8.741 MB / 0.8729 GB, free: 77.94 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.678, allocations: 0 / 0.8729 GB, free: 77.94 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005672/1.684, allocations: 4.199 MB / 0.877 GB, free: 73.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005565/1.689, allocations: 1.132 MB / 0.8781 GB, free: 72.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08971/1.779, allocations: 64.1 MB / 0.9407 GB, free: 5.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006377/1.785, allocations: 7.009 MB / 0.9476 GB, free: 14.52 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006116/1.792, allocations: 2.313 MB / 0.9498 GB, free: 12.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2286/2.02, allocations: 3.87 MB / 0.9536 GB, free: 192.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.603e-06/2.02, allocations: 6.375 kB / 0.9536 GB, free: 192.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1934/2.214, allocations: 148.9 MB / 1.099 GB, free: 67.13 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.18/24.4, allocations: 9.203 kB / 1.099 GB, free: 67.12 MB / 0.5607 GB (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)