Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001524, allocations: 202 kB / 18.74 MB, free: 4.332 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.617/1.617, allocations: 227.7 MB / 247.2 MB, free: 10.2 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.001965/0.001965, allocations: 59.91 kB / 358.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4546, allocations: 50.54 MB / 409 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.004291/0.4589, allocations: 1.889 MB / 410.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.4602, allocations: 482.8 kB / 411.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.4604, allocations: 4 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.4606, allocations: 11.86 kB / 411.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.552e-05/0.4607, allocations: 27.72 kB / 411.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.4609, allocations: 27.97 kB / 411.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.4611, allocations: 111.6 kB / 411.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.4613, allocations: 41.38 kB / 411.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.4614, allocations: 39.86 kB / 411.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.567e-05/0.4615, allocations: 39.78 kB / 411.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.4615, allocations: 12 kB / 411.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.481e-05/0.4616, allocations: 8 kB / 411.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.4616, allocations: 23.91 kB / 411.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.883e-05/0.4617, allocations: 51.73 kB / 411.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.462, allocations: 98.56 kB / 411.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.462, allocations: 0 / 411.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.217e-05/0.462, allocations: 0 / 411.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.462, allocations: 3.938 kB / 411.9 MB, free: 14.59 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007794/0.4628, allocations: 407.2 kB / 412.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.4629, allocations: 12.03 kB / 412.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.283e-05/0.4629, allocations: 42.73 kB / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.463, allocations: 12.89 kB / 412.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.4634, allocations: 192.2 kB / 412.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4635, allocations: 8.562 kB / 412.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/0.4636, allocations: 20.08 kB / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.464, allocations: 117 kB / 412.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.464, allocations: 0 / 412.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.464, allocations: 0 / 412.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.464, allocations: 8 kB / 412.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.4643, allocations: 71.88 kB / 412.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.4654, allocations: 0.5249 MB / 413.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.4657, allocations: 78.61 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.4659, allocations: 40.83 kB / 413.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.4659, allocations: 7.875 kB / 413.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.466, allocations: 30.56 kB / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.466, allocations: 0 / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000552/0.4665, allocations: 129.5 kB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/0.4666, allocations: 59.39 kB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.4668, allocations: 124.9 kB / 413.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.4669, allocations: 33.7 kB / 413.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.4671, allocations: 112.1 kB / 413.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.4671, allocations: 31.73 kB / 413.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.4672, allocations: 25.72 kB / 413.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.4674, allocations: 326.8 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.4676, allocations: 31.97 kB / 414.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.4678, allocations: 64.27 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.4681, allocations: 108.1 kB / 414.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4681, allocations: 0 / 414.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003433/0.4684, allocations: 141.5 kB / 414.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.4685, allocations: 4 kB / 414.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.4685, allocations: 7.984 kB / 414.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.4685, allocations: 0 / 414.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.4687, allocations: 27.98 kB / 414.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.4687, allocations: 4 kB / 414.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.97e-05/0.4688, allocations: 11.92 kB / 414.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.4689, allocations: 8 kB / 414.6 MB, free: 11.53 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001765/0.469, allocations: 125.8 kB / 414.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.4691, allocations: 7.953 kB / 414.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/0.4691, allocations: 12.38 kB / 414.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.4692, allocations: 4.094 kB / 414.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.4692, allocations: 3.938 kB / 414.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.4692, allocations: 3.984 kB / 414.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.4695, allocations: 193.6 kB / 415 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4695, allocations: 0 / 415 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.4697, allocations: 19.98 kB / 415 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4697, allocations: 0 / 415 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.4697, allocations: 12 kB / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.4697, allocations: 3.984 kB / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.4697, allocations: 3.938 kB / 415 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.4703, allocations: 239.2 kB / 415.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-05/0.4704, allocations: 85.06 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.4704, allocations: 4 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.4705, allocations: 8.031 kB / 415.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.4706, allocations: 4 kB / 415.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.4706, allocations: 4 kB / 415.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.067e-05/0.4707, allocations: 95.27 kB / 415.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4707, allocations: 0 / 415.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.471, allocations: 23.94 kB / 415.5 MB, free: 10.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001076/0.4721, allocations: 0.7709 MB / 416.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.4725, allocations: 75.94 kB / 416.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4725, allocations: 256 / 416.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.4726, allocations: 52.36 kB / 416.4 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.4731, allocations: 20.12 kB / 416.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.476, allocations: 1.732 MB / 418.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.4766, allocations: 0.704 MB / 418.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.4767, allocations: 4.438 kB / 418.8 MB, free: 7.078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.4767, allocations: 31.42 kB / 418.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4768, allocations: 0 / 418.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.5081, allocations: 2.392 MB / 421.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.722, allocations: 6.906 kB / 421.3 MB, free: 4.801 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1)