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_Temperature.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.001235/0.001235, allocations: 105 kB / 19.74 MB, free: 2.453 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.001357/0.001357, allocations: 219.1 kB / 22.92 MB, free: 5.195 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.283/1.283, allocations: 230.5 MB / 256.4 MB, free: 8.27 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_Temperature,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",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.001809/0.001809, allocations: 75.81 kB / 376.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2101, allocations: 53.31 MB / 429.4 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008859/0.219, allocations: 8.062 MB / 437.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004271/0.2233, allocations: 2.656 MB / 440.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005221/0.2238, allocations: 23.94 kB / 440.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.225, allocations: 0.5175 MB / 440.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008372/0.2258, allocations: 444.7 kB / 441.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.2262, allocations: 215.6 kB / 441.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.2274, allocations: 1.234 MB / 442.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005383/0.228, allocations: 366.1 kB / 442.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005613/0.2285, allocations: 494 kB / 443.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005811/0.2291, allocations: 0.5172 MB / 443.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.2293, allocations: 116 kB / 444 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.2295, allocations: 164 kB / 444.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.2297, allocations: 235.1 kB / 444.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004857/0.2302, allocations: 0.5676 MB / 445 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.2317, allocations: 1.47 MB / 446.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2317, allocations: 0 / 446.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2317, allocations: 0 / 446.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.2317, allocations: 0 / 446.4 MB, free: 6.289 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002108/0.2338, allocations: 1.33 MB / 447.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2338, allocations: 11.97 kB / 447.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.234, allocations: 135.5 kB / 447.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006515/0.2346, allocations: 180.2 kB / 448.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.2357, allocations: 0.6575 MB / 448.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.708e-05/0.2357, allocations: 70.12 kB / 448.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.2358, allocations: 84 kB / 448.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.2371, allocations: 0.8184 MB / 449.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.2372, allocations: 11.94 kB / 449.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.2372, allocations: 36 kB / 449.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.2373, allocations: 20 kB / 449.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.2383, allocations: 0.5348 MB / 450.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.2424, allocations: 3.563 MB / 453.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.2429, allocations: 222.7 kB / 454.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.2432, allocations: 112.8 kB / 454.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.2432, allocations: 4 kB / 454.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2432, allocations: 38.56 kB / 454.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.763e-06/0.2432, allocations: 0 / 454.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002023/0.2452, allocations: 1.095 MB / 455.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.2453, allocations: 85.05 kB / 455.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009413/0.2462, allocations: 0.7624 MB / 456.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.2463, allocations: 29.7 kB / 456.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.2466, allocations: 0.5267 MB / 456.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.562e-05/0.2467, allocations: 115 kB / 456.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.2469, allocations: 122.2 kB / 457 MB, free: 11.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.2471, allocations: 386.8 kB / 457.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.2473, allocations: 129.2 kB / 457.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004985/0.2478, allocations: 442.2 kB / 457.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008313/0.2487, allocations: 0.6177 MB / 458.5 MB, free: 9.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2487, allocations: 8 kB / 458.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001072/0.2498, allocations: 0.6467 MB / 459.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.2498, allocations: 19.06 kB / 459.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.2498, allocations: 8 kB / 459.2 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/0.2499, allocations: 36.84 kB / 459.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.2504, allocations: 147.8 kB / 459.4 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.2514, allocations: 1.391 MB / 460.8 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.2518, allocations: 52.08 kB / 460.8 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.2519, allocations: 32 kB / 460.9 MB, free: 6.902 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0002866/0.2522, allocations: 241.5 kB / 461.1 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.2523, allocations: 79.48 kB / 461.2 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000654/0.2529, allocations: 337.9 kB / 461.5 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.2529, allocations: 4 kB / 461.5 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2529, allocations: 3.938 kB / 461.5 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2529, allocations: 0 / 461.5 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.2545, allocations: 1.11 MB / 462.6 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2545, allocations: 7.938 kB / 462.6 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.2547, allocations: 67.89 kB / 462.7 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-05/0.2548, allocations: 25.06 kB / 462.7 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.2548, allocations: 8 kB / 462.7 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009495/0.2558, allocations: 1.368 MB / 464.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.2558, allocations: 4 kB / 464.1 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008805/0.2567, allocations: 0.58 MB / 464.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.2569, allocations: 188.6 kB / 464.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.2569, allocations: 8 kB / 464.9 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.2573, allocations: 15.98 kB / 464.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.2573, allocations: 28 kB / 464.9 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.2573, allocations: 12 kB / 464.9 MB, free: 2.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006368/0.258, allocations: 0.5224 MB / 465.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.258, allocations: 0 / 465.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005897/0.2586, allocations: 179.9 kB / 465.6 MB, free: 1.828 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 (28): * Single equations (assignments): 27 * 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.001236/0.2598, allocations: 1.134 MB / 466.8 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008288/0.2606, allocations: 468 kB / 467.2 MB, free: 176 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2606, allocations: 4 kB / 467.2 MB, free: 172 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.261, allocations: 238.4 kB / 467.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008486/0.2618, allocations: 183.4 kB / 467.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008243/0.2701, allocations: 6.533 MB / 474.2 MB, free: 8.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.2706, allocations: 0.9526 MB / 475.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003014/0.2709, allocations: 94.16 kB / 475.2 MB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/0.2713, allocations: 315.3 kB / 475.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2713, allocations: 0 / 475.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04902/0.3203, allocations: 16.18 MB / 491.7 MB, free: 7.434 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.859/10.18, allocations: 6.875 kB / 491.7 MB, free: 7.43 MB / 398.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.355243309997604]