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_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.001417/0.001417, allocations: 109.7 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.001681/0.001681, allocations: 222.3 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.288/1.288, allocations: 230.4 MB / 256.4 MB, free: 8.273 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_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_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.00178/0.00178, allocations: 67.83 kB / 376.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.223, allocations: 53.31 MB / 429.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.008883/0.2319, allocations: 8.179 MB / 437.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004096/0.236, allocations: 2.669 MB / 440.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/0.2365, allocations: 23.94 kB / 440.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.2377, allocations: 0.5793 MB / 440.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008291/0.2385, allocations: 0.4964 MB / 441.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.2389, allocations: 251.6 kB / 441.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.2402, allocations: 1.471 MB / 443.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000558/0.2408, allocations: 406.8 kB / 443.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006465/0.2414, allocations: 0.5642 MB / 444 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006578/0.2421, allocations: 0.595 MB / 444.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.2423, allocations: 140 kB / 444.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.2426, allocations: 176 kB / 444.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.2428, allocations: 282.9 kB / 445.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.2433, allocations: 0.6532 MB / 445.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.245, allocations: 1.736 MB / 447.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.245, allocations: 4 kB / 447.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.245, allocations: 0 / 447.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.245, allocations: 4 kB / 447.6 MB, free: 5.145 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002133/0.2471, allocations: 1.475 MB / 449.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2472, allocations: 8.031 kB / 449.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.2473, allocations: 152.4 kB / 449.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005906/0.2479, allocations: 196 kB / 449.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.249, allocations: 0.7383 MB / 450.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.249, allocations: 78 kB / 450.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.2492, allocations: 99.95 kB / 450.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.2506, allocations: 0.9424 MB / 451.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.2506, allocations: 4 kB / 451.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.387e-05/0.2507, allocations: 44 kB / 451.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.2507, allocations: 24 kB / 451.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.2518, allocations: 0.6324 MB / 452 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00449/0.2563, allocations: 3.893 MB / 455.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.2569, allocations: 431.8 kB / 456.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/0.2575, allocations: 245.4 kB / 456.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.2575, allocations: 8.266 kB / 456.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.2575, allocations: 38.89 kB / 456.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.513e-06/0.2575, allocations: 0 / 456.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002434/0.26, allocations: 1.415 MB / 458 MB, free: 10.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.26, allocations: 85.11 kB / 458.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.261, allocations: 0.8214 MB / 458.9 MB, free: 9.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.2611, allocations: 33.7 kB / 458.9 MB, free: 9.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.2615, allocations: 0.5696 MB / 459.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.2616, allocations: 166.6 kB / 459.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.2618, allocations: 134.6 kB / 459.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2619, allocations: 334 kB / 460.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.2622, allocations: 165.9 kB / 460.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/0.2627, allocations: 468 kB / 460.8 MB, free: 7.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008597/0.2636, allocations: 0.6505 MB / 461.4 MB, free: 6.559 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.2636, allocations: 8 kB / 461.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001205/0.2648, allocations: 0.771 MB / 462.2 MB, free: 5.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2648, allocations: 15.94 kB / 462.2 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.2648, allocations: 8 kB / 462.2 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000245/0.2651, allocations: 85.86 kB / 462.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.2655, allocations: 151.7 kB / 462.4 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.2679, allocations: 3.139 MB / 465.6 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.2684, allocations: 39.94 kB / 465.6 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.2684, allocations: 32 kB / 465.6 MB, free: 2.016 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 (84): * Single equations (assignments): 82 * 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.0003248/0.2688, allocations: 265.5 kB / 465.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.2689, allocations: 91.44 kB / 466 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008695/0.2698, allocations: 495.5 kB / 466.5 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2698, allocations: 4 kB / 466.5 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2698, allocations: 0 / 466.5 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2698, allocations: 3.984 kB / 466.5 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.2717, allocations: 1.439 MB / 467.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2717, allocations: 4 kB / 467.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.272, allocations: 68.12 kB / 468 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.2722, allocations: 77.8 kB / 468.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.2722, allocations: 8 kB / 468.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.2745, allocations: 3.126 MB / 471.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.2745, allocations: 4.031 kB / 471.2 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.2756, allocations: 0.7626 MB / 472 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.2759, allocations: 212.5 kB / 472.2 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.2759, allocations: 11.98 kB / 472.2 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.2763, allocations: 23.98 kB / 472.2 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.2764, allocations: 36.02 kB / 472.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.2764, allocations: 20 kB / 472.3 MB, free: 10.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007146/0.2771, allocations: 0.5654 MB / 472.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2771, allocations: 0 / 472.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007583/0.2779, allocations: 208 kB / 473 MB, free: 10.17 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 (38): * Single equations (assignments): 36 * 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.001521/0.2794, allocations: 1.335 MB / 474.4 MB, free: 8.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.2806, allocations: 0.6669 MB / 475 MB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2806, allocations: 0.625 kB / 475 MB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000621/0.2812, allocations: 445 kB / 475.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009791/0.2822, allocations: 244.3 kB / 475.7 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009596/0.2918, allocations: 7.301 MB / 483 MB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/0.2924, allocations: 1.001 MB / 484 MB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003549/0.2927, allocations: 111.2 kB / 484.1 MB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.2932, allocations: 375.3 kB / 484.5 MB, free: 14.15 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2932, allocations: 0 / 484.5 MB, free: 14.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05242/0.3456, allocations: 19.23 MB / 0.4919 GB, free: 11.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.881/10.23, allocations: 4.688 kB / 0.4919 GB, free: 11.17 MB / 414.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.380753914003435]