Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001804/0.001804, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002144/0.002144, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] 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.DCMachines.DCPM_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001992/0.001992, allocations: 56.78 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2652, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009524/0.2747, allocations: 7.207 MB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004647/0.2794, allocations: 2.403 MB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007365/0.2801, allocations: 19.94 kB / 441.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.2815, allocations: 0.5166 MB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.2826, allocations: 417 kB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.2831, allocations: 199.7 kB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.2845, allocations: 1.206 MB / 443.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005875/0.2851, allocations: 344.5 kB / 444.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007035/0.2858, allocations: 482.2 kB / 444.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006135/0.2864, allocations: 0.4899 MB / 445.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.2865, allocations: 116 kB / 445.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.2868, allocations: 152 kB / 445.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.287, allocations: 231.2 kB / 445.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.2876, allocations: 0.5404 MB / 446.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.2894, allocations: 1.444 MB / 447.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2894, allocations: 4 kB / 447.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2894, allocations: 0 / 447.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.2894, allocations: 4 kB / 447.7 MB, free: 7.066 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002112/0.2915, allocations: 1.198 MB / 448.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.2916, allocations: 8.031 kB / 448.9 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.2917, allocations: 127.1 kB / 449 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/0.2922, allocations: 156.2 kB / 449.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.2933, allocations: 0.5804 MB / 449.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.488e-05/0.2934, allocations: 58.38 kB / 449.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.2935, allocations: 92.06 kB / 449.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.2948, allocations: 0.7715 MB / 450.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.2949, allocations: 11.98 kB / 450.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/0.2949, allocations: 28 kB / 450.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.2949, allocations: 20 kB / 450.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.296, allocations: 0.5114 MB / 451.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004486/0.3005, allocations: 3.27 MB / 454.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005418/0.301, allocations: 214.5 kB / 454.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.3013, allocations: 112.8 kB / 454.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.3013, allocations: 3.984 kB / 454.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.3013, allocations: 34.56 kB / 454.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.324e-06/0.3013, allocations: 4 kB / 454.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002319/0.3037, allocations: 0.9114 MB / 455.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.3037, allocations: 81.34 kB / 455.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.3049, allocations: 0.7311 MB / 456.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.3049, allocations: 29.7 kB / 456.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005268/0.3054, allocations: 0.5034 MB / 457.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3055, allocations: 107.1 kB / 457.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.3057, allocations: 114.2 kB / 457.3 MB, free: 13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.3059, allocations: 378.8 kB / 457.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.3062, allocations: 133.2 kB / 457.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/0.3067, allocations: 414.2 kB / 458.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008713/0.3076, allocations: 0.5907 MB / 458.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3076, allocations: 0 / 458.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001121/0.3087, allocations: 0.6231 MB / 459.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.3088, allocations: 10.66 kB / 459.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.3088, allocations: 12 kB / 459.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.309, allocations: 28.84 kB / 459.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/0.3094, allocations: 143.8 kB / 459.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.3106, allocations: 1.283 MB / 460.9 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005672/0.3111, allocations: 44 kB / 461 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.3112, allocations: 28 kB / 461 MB, free: 8.938 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003425/0.3115, allocations: 237.5 kB / 461.2 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3116, allocations: 71.53 kB / 461.3 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000659/0.3123, allocations: 325.5 kB / 461.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3123, allocations: 0 / 461.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3123, allocations: 4 kB / 461.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3123, allocations: 3.984 kB / 461.6 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.314, allocations: 1.064 MB / 462.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.314, allocations: 4 kB / 462.7 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.3143, allocations: 59.91 kB / 462.7 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.655e-05/0.3144, allocations: 29.06 kB / 462.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.3144, allocations: 8 kB / 462.8 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.3154, allocations: 1.275 MB / 464 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3154, allocations: 0 / 464 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009013/0.3163, allocations: 0.5492 MB / 464.6 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.3166, allocations: 107.5 kB / 464.7 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.3166, allocations: 12 kB / 464.7 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.317, allocations: 19.98 kB / 464.7 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/0.317, allocations: 31.83 kB / 464.8 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.3171, allocations: 8 kB / 464.8 MB, free: 4.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007082/0.3178, allocations: 0.4991 MB / 465.3 MB, free: 4.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3178, allocations: 0 / 465.3 MB, free: 4.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006942/0.3185, allocations: 171.9 kB / 465.4 MB, free: 4.223 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,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.001457/0.3199, allocations: 1.117 MB / 466.6 MB, free: 3.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009794/0.3209, allocations: 451 kB / 467 MB, free: 2.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.3209, allocations: 4 kB / 467 MB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.3213, allocations: 232 kB / 467.2 MB, free: 2.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008702/0.3222, allocations: 184.8 kB / 467.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009209/0.3314, allocations: 6.297 MB / 473.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.332, allocations: 0.9372 MB / 474.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003656/0.3324, allocations: 90.02 kB / 474.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/0.3327, allocations: 299.3 kB / 475 MB, free: 10.13 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3327, allocations: 0 / 475 MB, free: 10.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05708/0.3898, allocations: 15.92 MB / 490.9 MB, free: 10.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.47, allocations: 0 / 490.9 MB, free: 10.43 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.982910363003612] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcpm.la.i', 'loadInertia.phi', 'loadInertia.w'] 11.568492832127959 11.606741335 11.310317701 Calling exit ...