Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 212.6 kB / 18.58 MB, free: 4.598 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.564/1.564, allocations: 227.7 MB / 247.1 MB, free: 10.33 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.001909/0.001909, allocations: 64.28 kB / 307.3 MB, free: 424 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1215, allocations: 50.54 MB / 357.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01551/0.1371, allocations: 9.416 MB / 367.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007316/0.1445, allocations: 3.057 MB / 370.4 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.1465, allocations: 47.81 kB / 370.4 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.1487, allocations: 0.6404 MB / 371 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.222/0.3707, allocations: 0.7594 MB / 371.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.372, allocations: 363 kB / 372.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004242/0.3762, allocations: 2.65 MB / 374.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00278/0.379, allocations: 2.154 MB / 377 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.3817, allocations: 1.204 MB / 378.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.3842, allocations: 1.497 MB / 379.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007033/0.385, allocations: 306.7 kB / 380 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.3863, allocations: 400.9 kB / 380.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.3873, allocations: 0.8901 MB / 381.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002461/0.3898, allocations: 1.412 MB / 382.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005152/0.395, allocations: 4.062 MB / 386.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.395, allocations: 0 / 386.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.395, allocations: 0 / 386.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001317/0.3951, allocations: 1.125 kB / 386.7 MB, free: 6.914 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006975/0.4021, allocations: 2.869 MB / 389.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4022, allocations: 10.12 kB / 389.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000425/0.4026, allocations: 292.3 kB / 389.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.4039, allocations: 328.6 kB / 390.2 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/0.4071, allocations: 1.502 MB / 391.7 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.4073, allocations: 157.5 kB / 391.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003359/0.4076, allocations: 204.3 kB / 392.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004579/0.4122, allocations: 2.732 MB / 394.8 MB, free: 2.059 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.844e-05/0.4123, allocations: 6.531 kB / 394.8 MB, free: 2.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/0.4125, allocations: 84.45 kB / 394.9 MB, free: 1.992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.4126, allocations: 104.3 kB / 395 MB, free: 1.973 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003683/0.4163, allocations: 2.322 MB / 397.3 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01647/0.4328, allocations: 8.41 MB / 405.7 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.4355, allocations: 1.775 MB / 407.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.4376, allocations: 1.064 MB / 408.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.4379, allocations: 129.7 kB / 408.7 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.4379, allocations: 39.56 kB / 408.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.976e-06/0.4379, allocations: 0 / 408.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01451/0.4525, allocations: 6.211 MB / 414.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.448e-05/0.4526, allocations: 68.39 kB / 415 MB, free: 15.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00307/0.4557, allocations: 1.521 MB / 416.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002612/0.456, allocations: 45.7 kB / 416.6 MB, free: 14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.457, allocations: 0.9943 MB / 417.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005885/0.4576, allocations: 420.1 kB / 418 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004912/0.4581, allocations: 251.5 kB / 418.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.4583, allocations: 365.9 kB / 418.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.4596, allocations: 0.7328 MB / 419.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.4614, allocations: 1.058 MB / 420.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00304/0.4644, allocations: 1.874 MB / 422.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.4644, allocations: 4 kB / 422.2 MB, free: 8.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00476/0.4692, allocations: 2.345 MB / 424.6 MB, free: 5.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4693, allocations: 19.97 kB / 424.6 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.4693, allocations: 8 kB / 424.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.4703, allocations: 419.1 kB / 425 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.4716, allocations: 323.5 kB / 425.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.4776, allocations: 5.07 MB / 430.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.4796, allocations: 91.84 kB / 430.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/0.4799, allocations: 48 kB / 430.5 MB, free: 15.44 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001551/0.4814, allocations: 0.7159 MB / 431.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/0.4819, allocations: 162 kB / 431.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/0.486, allocations: 2.149 MB / 433.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.4861, allocations: 12 kB / 433.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.4861, allocations: 4 kB / 433.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.4861, allocations: 3.984 kB / 433.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009004/0.4951, allocations: 4.579 MB / 438.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.4952, allocations: 4 kB / 438.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.4962, allocations: 219.9 kB / 438.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.4976, allocations: 474.8 kB / 438.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.414e-05/0.4977, allocations: 31.97 kB / 438.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007456/0.5052, allocations: 6.686 MB / 445.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.5052, allocations: 8.016 kB / 445.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006043/0.5112, allocations: 3.183 MB / 448.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/0.5127, allocations: 406.9 kB / 449.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.513, allocations: 24 kB / 449.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000875/0.5138, allocations: 75.91 kB / 449.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/0.5141, allocations: 108.7 kB / 449.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.362e-05/0.5142, allocations: 35.98 kB / 449.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001758/0.516, allocations: 1.056 MB / 450.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.516, allocations: 0 / 450.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001973/0.518, allocations: 464 kB / 450.9 MB, free: 10.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005906/0.5239, allocations: 3.806 MB / 454.7 MB, free: 6.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005426/0.5294, allocations: 2.825 MB / 457.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.5294, allocations: 0 / 457.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002503/0.5319, allocations: 1.492 MB / 459 MB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.5345, allocations: 452 kB / 459.5 MB, free: 1.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03321/0.5678, allocations: 19.09 MB / 478.6 MB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/0.5698, allocations: 1.826 MB / 480.4 MB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001402/0.5712, allocations: 401.5 kB / 480.8 MB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/0.5724, allocations: 0.8039 MB / 481.6 MB, free: 10.43 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5724, allocations: 0 / 481.6 MB, free: 10.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09804/0.6704, allocations: 42.62 MB / 0.5119 GB, free: 284 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.89, allocations: 7.938 kB / 0.5119 GB, free: 280 kB / 430.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1)