Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001735, allocations: 199.9 kB / 18.74 MB, free: 4.312 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.431/1.431, allocations: 227.7 MB / 247.2 MB, free: 10.16 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.002261/0.002261, allocations: 55.91 kB / 358.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2874, allocations: 50.55 MB / 409.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.02788/0.3154, allocations: 24.32 MB / 433.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.3305, allocations: 7.194 MB / 440.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004836/0.3353, allocations: 163.4 kB / 440.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005685/0.3411, allocations: 1.658 MB / 442.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008932/0.3501, allocations: 2.373 MB / 444.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004932/0.355, allocations: 1.463 MB / 446.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01487/0.3699, allocations: 8.916 MB / 455.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/0.382, allocations: 7.166 MB / 462.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008182/0.3903, allocations: 4.066 MB / 466.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.4004, allocations: 4.865 MB / 471.3 MB, free: 2.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00377/0.4042, allocations: 1.105 MB / 472.4 MB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004838/0.409, allocations: 1.39 MB / 473.8 MB, free: 376 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004441/0.4135, allocations: 2.731 MB / 476.5 MB, free: 13.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009439/0.423, allocations: 4.687 MB / 481.2 MB, free: 8.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02122/0.4442, allocations: 14.55 MB / 495.7 MB, free: 10.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.4443, allocations: 0 / 495.7 MB, free: 10.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4443, allocations: 0 / 495.7 MB, free: 10.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005133/0.4448, allocations: 0 / 495.7 MB, free: 10.32 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02957/0.4744, allocations: 9.156 MB / 0.4931 GB, free: 1.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.4745, allocations: 11.97 kB / 0.4931 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004138/0.4786, allocations: 0.9296 MB / 0.494 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008391/0.487, allocations: 1.361 MB / 0.4953 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/0.5012, allocations: 5.484 MB / 0.5007 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007961/0.502, allocations: 0.4991 MB / 0.5011 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002952/0.505, allocations: 0.664 MB / 0.5018 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02759/0.5326, allocations: 9.461 MB / 0.511 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003776/0.533, allocations: 11.95 kB / 0.511 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002424/0.5355, allocations: 279.9 kB / 0.5113 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000389/0.5359, allocations: 301.4 kB / 0.5116 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/0.5562, allocations: 8.106 MB / 0.5195 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4799/1.036, allocations: 29.25 MB / 0.5481 GB, free: 103.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00983/1.046, allocations: 12.3 MB / 0.5601 GB, free: 95.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005131/1.051, allocations: 3.401 MB / 0.5634 GB, free: 94.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01232/1.063, allocations: 7.04 MB / 0.5703 GB, free: 90.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.59e-05/1.064, allocations: 67.91 kB / 0.5704 GB, free: 90.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=305): time 6.903e-06/1.064, allocations: 0 / 0.5704 GB, free: 90.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=324): time 0.02968/1.093, allocations: 15.83 MB / 0.5858 GB, free: 80.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/1.093, allocations: 85.95 kB / 0.5859 GB, free: 80.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007184/1.101, allocations: 4.033 MB / 0.5898 GB, free: 76.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006557/1.101, allocations: 81.7 kB / 0.5899 GB, free: 76.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/1.103, allocations: 3.18 MB / 0.593 GB, free: 73.81 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001254/1.104, allocations: 1.148 MB / 0.5941 GB, free: 72.78 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002044/1.107, allocations: 0.6809 MB / 0.5948 GB, free: 72.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.085e-05/1.107, allocations: 301.1 kB / 0.5951 GB, free: 71.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00279/1.109, allocations: 1.862 MB / 0.5969 GB, free: 69.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003205/1.113, allocations: 2.847 MB / 0.5997 GB, free: 66.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006206/1.119, allocations: 4.901 MB / 0.6045 GB, free: 61.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.942e-05/1.119, allocations: 12 kB / 0.6045 GB, free: 61.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.01003/1.129, allocations: 6.443 MB / 0.6108 GB, free: 54.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/1.129, allocations: 16 kB / 0.6108 GB, free: 54.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.293e-05/1.129, allocations: 28 kB / 0.6108 GB, free: 54.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002481/1.132, allocations: 1.265 MB / 0.6121 GB, free: 53.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/1.134, allocations: 0.8073 MB / 0.6128 GB, free: 52.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/1.149, allocations: 22.55 MB / 0.6349 GB, free: 28.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/1.152, allocations: 208 kB / 0.6351 GB, free: 28.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006666/1.153, allocations: 152 kB / 0.6352 GB, free: 28.21 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * Number of states: 0 () * Number of discrete variables: 9 (rheostatE.booleanStep[3].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,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 (424): * Single equations (assignments): 410 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (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): 11 systems {(1,1,100.0%), (2,14,100.0%), (1,8,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003979/1.157, allocations: 2.195 MB / 0.6374 GB, free: 26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.158, allocations: 473 kB / 0.6378 GB, free: 25.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009738/1.168, allocations: 6.043 MB / 0.6437 GB, free: 19.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/1.168, allocations: 43.91 kB / 0.6438 GB, free: 19.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.288e-05/1.168, allocations: 16 kB / 0.6438 GB, free: 19.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.491e-05/1.168, allocations: 15.89 kB / 0.6438 GB, free: 19.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02077/1.189, allocations: 12.34 MB / 0.6558 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/1.189, allocations: 0 / 0.6558 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/1.191, allocations: 459.7 kB / 0.6563 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00359/1.195, allocations: 1.621 MB / 0.6579 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003271/1.195, allocations: 79.91 kB / 0.6579 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03217/1.227, allocations: 32.9 MB / 0.6901 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/1.227, allocations: 7.938 kB / 0.6901 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01637/1.243, allocations: 8.684 MB / 0.6985 GB, free: 8.453 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002729/1.246, allocations: 0.9353 MB / 0.6995 GB, free: 7.496 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00125/1.248, allocations: 68 kB / 0.6995 GB, free: 7.43 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/1.25, allocations: 179.8 kB / 0.6997 GB, free: 7.254 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008215/1.251, allocations: 281.9 kB / 0.7 GB, free: 6.977 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003321/1.251, allocations: 87.98 kB / 0.7 GB, free: 6.891 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005554/1.257, allocations: 2.742 MB / 0.7027 GB, free: 4.145 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.21e-07/1.257, allocations: 4 kB / 0.7027 GB, free: 4.141 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.005686/1.263, allocations: 1.336 MB / 0.704 GB, free: 2.805 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.inertiaRotor.w,aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.inertiaRotor.w,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 16 * 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): 16 systems {(2,14,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (2,12,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.01699/1.28, allocations: 9.431 MB / 0.7132 GB, free: 9.125 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01149/1.291, allocations: 6.337 MB / 0.7194 GB, free: 2.566 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.291, allocations: 0 / 0.7194 GB, free: 2.566 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008862/1.3, allocations: 4.798 MB / 0.7241 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009849/1.31, allocations: 1.356 MB / 0.7254 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3051/1.615, allocations: 46.93 MB / 0.7713 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006489/1.622, allocations: 4.495 MB / 0.7757 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003726/1.626, allocations: 1.065 MB / 0.7767 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003417/1.629, allocations: 2.682 MB / 0.7793 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/1.629, allocations: 0 / 0.7793 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2056/1.835, allocations: 123 MB / 0.8995 GB, free: 33.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.36/23.2, allocations: 8.234 kB / 0.8995 GB, free: 33.79 MB / 0.5294 GB (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)