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.001179/0.001179, allocations: 109 kB / 19.74 MB, free: 2.586 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.001261/0.001261, allocations: 215 kB / 22.92 MB, free: 5.559 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.274/1.274, allocations: 230.5 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] 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.001773/0.001773, allocations: 63.84 kB / 376.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2145, allocations: 53.32 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008189/0.2227, allocations: 7.221 MB / 436.6 MB, free: 204 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.226, allocations: 2.395 MB / 439 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/0.2264, allocations: 16 kB / 439 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.2275, allocations: 0.5165 MB / 439.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006759/0.2282, allocations: 413 kB / 440 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.2285, allocations: 207.7 kB / 440.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.2297, allocations: 1.202 MB / 441.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004974/0.2301, allocations: 344.9 kB / 441.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005591/0.2307, allocations: 462.2 kB / 442.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005539/0.2313, allocations: 0.4899 MB / 442.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.2314, allocations: 112 kB / 442.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.2317, allocations: 160 kB / 442.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.2318, allocations: 231.2 kB / 443.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004781/0.2323, allocations: 0.5405 MB / 443.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.2337, allocations: 1.44 MB / 445.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2337, allocations: 0 / 445.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2337, allocations: 4 kB / 445.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.2338, allocations: 0 / 445.1 MB, free: 7.648 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.001876/0.2356, allocations: 1.269 MB / 446.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2357, allocations: 12.03 kB / 446.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.2358, allocations: 123.1 kB / 446.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/0.2363, allocations: 156.2 kB / 446.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000956/0.2372, allocations: 0.6499 MB / 447.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.2373, allocations: 58.38 kB / 447.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.2374, allocations: 92.08 kB / 447.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.2386, allocations: 0.7715 MB / 448.2 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.2386, allocations: 4 kB / 448.2 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/0.2387, allocations: 36 kB / 448.3 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.2387, allocations: 23.94 kB / 448.3 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009865/0.2397, allocations: 0.5191 MB / 448.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.2437, allocations: 3.377 MB / 452.2 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.2441, allocations: 222.6 kB / 452.4 MB, free: 0 / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.2444, allocations: 104.8 kB / 452.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.2444, allocations: 0 / 452.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2444, allocations: 38.5 kB / 452.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.132e-06/0.2444, allocations: 0 / 452.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001926/0.2463, allocations: 1.063 MB / 453.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.2464, allocations: 81.34 kB / 453.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/0.2473, allocations: 0.731 MB / 454.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.2473, allocations: 37.7 kB / 454.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.2477, allocations: 0.5034 MB / 455 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/0.2477, allocations: 107.1 kB / 455.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.2479, allocations: 118.2 kB / 455.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2481, allocations: 378.8 kB / 455.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.2483, allocations: 121.2 kB / 455.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/0.2488, allocations: 422.2 kB / 456.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007557/0.2495, allocations: 0.5714 MB / 456.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.2495, allocations: 4 kB / 456.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001007/0.2506, allocations: 0.6232 MB / 457.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.2506, allocations: 16.17 kB / 457.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.2506, allocations: 8 kB / 457.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.2507, allocations: 28.86 kB / 457.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.2511, allocations: 139.7 kB / 457.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.2522, allocations: 1.394 MB / 458.9 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.2526, allocations: 35.94 kB / 458.9 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.2527, allocations: 28.09 kB / 458.9 MB, free: 8.922 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.0003018/0.253, allocations: 241.5 kB / 459.2 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.2531, allocations: 75.53 kB / 459.2 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006378/0.2537, allocations: 321.3 kB / 459.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2537, allocations: 4 kB / 459.6 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2537, allocations: 4 kB / 459.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2537, allocations: 0 / 459.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.2553, allocations: 1.093 MB / 460.7 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.2553, allocations: 4 kB / 460.7 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.2556, allocations: 59.91 kB / 460.7 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-05/0.2556, allocations: 20.84 kB / 460.7 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.2557, allocations: 8 kB / 460.7 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009962/0.2567, allocations: 1.38 MB / 462.1 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.2567, allocations: 8.078 kB / 462.1 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008549/0.2575, allocations: 0.557 MB / 462.7 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.2577, allocations: 172.6 kB / 462.9 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.858e-05/0.2578, allocations: 8 kB / 462.9 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.2581, allocations: 19.97 kB / 462.9 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.2582, allocations: 27.92 kB / 462.9 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.2582, allocations: 11.98 kB / 462.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006358/0.2588, allocations: 0.4991 MB / 463.4 MB, free: 4.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2588, allocations: 0 / 463.4 MB, free: 4.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006302/0.2594, allocations: 160 kB / 463.6 MB, free: 3.969 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.001274/0.2607, allocations: 1.129 MB / 464.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008506/0.2616, allocations: 452.5 kB / 465.2 MB, free: 2.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2616, allocations: 4.375 kB / 465.2 MB, free: 2.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.2619, allocations: 241.1 kB / 465.4 MB, free: 2.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/0.2628, allocations: 188.7 kB / 465.6 MB, free: 1.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008262/0.271, allocations: 6.274 MB / 471.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.2716, allocations: 0.9449 MB / 472.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.2719, allocations: 90.02 kB / 472.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.2723, allocations: 299.3 kB / 473.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.2723, allocations: 0 / 473.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/0.32, allocations: 15.55 MB / 488.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.787/10.11, allocations: 7.422 kB / 488.7 MB, free: 10.51 MB / 398.1 MB " [Timeout remaining time 650] (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 --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: 12.236227835994214]