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.DCSE_SinglePhase.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.001448/0.001448, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.00159/0.00159, allocations: 216 kB / 22.92 MB, free: 5.535 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.291/1.291, allocations: 230.5 MB / 256.4 MB, free: 8.426 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.DCSE_SinglePhase,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",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.001798/0.001798, allocations: 79.8 kB / 376.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2188, allocations: 53.32 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009345/0.2282, allocations: 8.315 MB / 437.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00451/0.2327, allocations: 2.75 MB / 440.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007245/0.2334, allocations: 23.94 kB / 440.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.2348, allocations: 0.5871 MB / 441.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.2358, allocations: 0.5002 MB / 441.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005159/0.2364, allocations: 271.6 kB / 441.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.2378, allocations: 1.51 MB / 443.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005862/0.2384, allocations: 394.9 kB / 443.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006771/0.2391, allocations: 0.5836 MB / 444.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006909/0.2398, allocations: 0.6067 MB / 444.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.2399, allocations: 140 kB / 445.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.2403, allocations: 188 kB / 445.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.2405, allocations: 290.8 kB / 445.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006128/0.2411, allocations: 0.6765 MB / 446.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.2429, allocations: 1.759 MB / 448 MB, free: 4.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2429, allocations: 4 kB / 448 MB, free: 4.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2429, allocations: 0 / 448 MB, free: 4.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.2429, allocations: 3.938 kB / 448 MB, free: 4.766 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002324/0.2453, allocations: 1.521 MB / 449.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2453, allocations: 8.031 kB / 449.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.2455, allocations: 152.4 kB / 449.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006922/0.2461, allocations: 204 kB / 449.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.2473, allocations: 0.7702 MB / 450.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/0.2474, allocations: 74 kB / 450.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.2475, allocations: 104 kB / 450.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.2489, allocations: 0.9464 MB / 451.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.249, allocations: 0 / 451.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.2491, allocations: 40 kB / 451.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.2491, allocations: 24 kB / 451.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.2503, allocations: 0.6519 MB / 452.5 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004744/0.255, allocations: 3.928 MB / 456.4 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.2557, allocations: 423.7 kB / 456.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/0.2563, allocations: 260.6 kB / 457.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.479e-05/0.2563, allocations: 19.98 kB / 457.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.2563, allocations: 30.56 kB / 457.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.643e-06/0.2563, allocations: 0 / 457.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002785/0.2591, allocations: 1.576 MB / 458.7 MB, free: 9.574 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.2592, allocations: 81.11 kB / 458.8 MB, free: 9.477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.2602, allocations: 0.8411 MB / 459.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.2602, allocations: 33.7 kB / 459.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.2606, allocations: 0.5853 MB / 460.2 MB, free: 7.992 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.2608, allocations: 162.6 kB / 460.4 MB, free: 7.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.261, allocations: 138.6 kB / 460.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2611, allocations: 334 kB / 460.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.2614, allocations: 173.9 kB / 461 MB, free: 7.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/0.262, allocations: 471.6 kB / 461.5 MB, free: 6.594 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.2629, allocations: 0.6762 MB / 462.2 MB, free: 5.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2629, allocations: 4 kB / 462.2 MB, free: 5.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001299/0.2642, allocations: 0.7831 MB / 462.9 MB, free: 4.984 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.2643, allocations: 8 kB / 463 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.2643, allocations: 8 kB / 463 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/0.2645, allocations: 97.8 kB / 463.1 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.265, allocations: 155.7 kB / 463.2 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.2675, allocations: 3.147 MB / 466.4 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.268, allocations: 36 kB / 466.4 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.268, allocations: 40 kB / 466.4 MB, free: 1.211 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003524/0.2684, allocations: 265.5 kB / 466.7 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.2685, allocations: 91.44 kB / 466.8 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009398/0.2694, allocations: 0.4993 MB / 467.3 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2694, allocations: 4 kB / 467.3 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2694, allocations: 0 / 467.3 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.2695, allocations: 3.984 kB / 467.3 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.2715, allocations: 1.481 MB / 468.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2715, allocations: 4 kB / 468.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.2718, allocations: 71.89 kB / 468.8 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001908/0.272, allocations: 73.89 kB / 468.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.2721, allocations: 12 kB / 468.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.2744, allocations: 3.122 MB / 472 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2744, allocations: 7.875 kB / 472.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.2757, allocations: 0.802 MB / 472.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.2759, allocations: 208.5 kB / 473.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/0.276, allocations: 15.94 kB / 473.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.2764, allocations: 27.97 kB / 473.1 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.2765, allocations: 39.66 kB / 473.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.2765, allocations: 19.98 kB / 473.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007404/0.2773, allocations: 0.5693 MB / 473.7 MB, free: 9.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2773, allocations: 0 / 473.7 MB, free: 9.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007579/0.278, allocations: 212 kB / 473.9 MB, free: 9.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.001613/0.2796, allocations: 1.37 MB / 475.3 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.2808, allocations: 0.6738 MB / 476 MB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.2808, allocations: 8 kB / 476 MB, free: 7.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000654/0.2815, allocations: 450.8 kB / 476.4 MB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009778/0.2824, allocations: 235.9 kB / 476.7 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.2927, allocations: 7.466 MB / 484.1 MB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.2934, allocations: 1.02 MB / 485.1 MB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003893/0.2938, allocations: 107.3 kB / 485.3 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/0.2942, allocations: 391.3 kB / 485.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2942, allocations: 4 kB / 485.6 MB, free: 12.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0556/0.3498, allocations: 19.62 MB / 0.4934 GB, free: 9.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.974/10.32, allocations: 7.922 kB / 0.4934 GB, free: 9.598 MB / 414.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.445254701000522]