Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.0008759/0.0008759, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009548/0.0009548, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9046/0.9046, allocations: 177 MB / 204.1 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.223e-05, allocations: 2.984 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006939/0.006972, allocations: 7.073 MB / 331.6 MB, free: 8.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003915/0.01089, allocations: 2.455 MB / 334.1 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008263/0.01171, allocations: 27.88 kB / 334.1 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.013, allocations: 0.5246 MB / 334.6 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.01404, allocations: 0.5039 MB / 335.1 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.01446, allocations: 239.7 kB / 335.3 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.01583, allocations: 1.489 MB / 336.8 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005391/0.01637, allocations: 383.2 kB / 337.2 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.01758, allocations: 0.8379 MB / 338 MB, free: 2.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004654/0.01805, allocations: 430.6 kB / 338.5 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.01817, allocations: 132 kB / 338.6 MB, free: 1.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.01845, allocations: 179.9 kB / 338.8 MB, free: 1.574 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.0186, allocations: 274.9 kB / 339 MB, free: 1.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003525/0.01895, allocations: 454.9 kB / 339.5 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.02061, allocations: 1.702 MB / 341.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.02062, allocations: 0 / 341.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.02062, allocations: 0 / 341.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.764e-05/0.02064, allocations: 0 / 341.2 MB, free: 15.15 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001796/0.02244, allocations: 1.368 MB / 342.6 MB, free: 13.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.02249, allocations: 11.98 kB / 342.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.02263, allocations: 156.2 kB / 342.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.02298, allocations: 180 kB / 342.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008939/0.02388, allocations: 0.6532 MB / 343.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.02392, allocations: 74 kB / 343.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.02401, allocations: 103.9 kB / 343.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.02511, allocations: 0.9982 MB / 344.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.02513, allocations: 0 / 344.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.02519, allocations: 44 kB / 344.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.02521, allocations: 24 kB / 344.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008311/0.02604, allocations: 0.6168 MB / 345.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/0.02959, allocations: 3.496 MB / 348.9 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.03001, allocations: 269.3 kB / 349.2 MB, free: 6.828 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.03018, allocations: 133.3 kB / 349.3 MB, free: 6.695 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.03021, allocations: 4 kB / 349.3 MB, free: 6.691 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.03023, allocations: 42.55 kB / 349.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.815e-06/0.03024, allocations: 4 kB / 349.3 MB, free: 6.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001636/0.03187, allocations: 1.051 MB / 350.4 MB, free: 5.551 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.03192, allocations: 81.11 kB / 350.5 MB, free: 5.453 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000782/0.0327, allocations: 0.8486 MB / 351.3 MB, free: 4.594 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.03272, allocations: 33.7 kB / 351.4 MB, free: 4.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.03301, allocations: 0.5811 MB / 351.9 MB, free: 3.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/0.03307, allocations: 126.9 kB / 352.1 MB, free: 3.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.03319, allocations: 122.6 kB / 352.2 MB, free: 3.715 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.03327, allocations: 334 kB / 352.5 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.03347, allocations: 149.9 kB / 352.7 MB, free: 3.234 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.03381, allocations: 485.9 kB / 353.1 MB, free: 2.609 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.03437, allocations: 0.6393 MB / 353.8 MB, free: 1.828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.03438, allocations: 0 / 353.8 MB, free: 1.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000789/0.03516, allocations: 0.7005 MB / 354.5 MB, free: 1.117 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.03519, allocations: 8 kB / 354.5 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.0352, allocations: 16.06 kB / 354.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/0.03533, allocations: 32.84 kB / 354.5 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.03564, allocations: 159.7 kB / 354.7 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008414/0.03648, allocations: 1.291 MB / 356 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.03685, allocations: 32.14 kB / 356 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.03688, allocations: 36 kB / 356 MB, free: 15.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * 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.0004298/0.03731, allocations: 261.5 kB / 356.3 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.03744, allocations: 87.44 kB / 356.4 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.03796, allocations: 378.4 kB / 356.7 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.03797, allocations: 4 kB / 356.7 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.03797, allocations: 4 kB / 356.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.03798, allocations: 3.984 kB / 356.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.03932, allocations: 1.141 MB / 357.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.03932, allocations: 0 / 357.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.03952, allocations: 76.11 kB / 358 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.204e-05/0.0396, allocations: 24.84 kB / 358 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.03962, allocations: 11.94 kB / 358 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007747/0.04039, allocations: 1.263 MB / 359.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.0404, allocations: 0 / 359.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006847/0.04108, allocations: 0.6364 MB / 359.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.04131, allocations: 115.4 kB / 360 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.04137, allocations: 12 kB / 360 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.04158, allocations: 23.97 kB / 360.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.04166, allocations: 39.83 kB / 360.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.04168, allocations: 8 kB / 360.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006186/0.04229, allocations: 0.5615 MB / 360.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.0423, allocations: 0 / 360.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006286/0.04292, allocations: 191.9 kB / 360.9 MB, free: 10.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.001027/0.04395, allocations: 1.197 MB / 362 MB, free: 9.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007848/0.04474, allocations: 0.4924 MB / 362.5 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.04474, allocations: 4 kB / 362.5 MB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.045, allocations: 263.2 kB / 362.8 MB, free: 8.328 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008104/0.04581, allocations: 217.1 kB / 363 MB, free: 8.125 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008205/0.05402, allocations: 7.037 MB / 370.1 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.05433, allocations: 405 kB / 370.4 MB, free: 208 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003164/0.05464, allocations: 106.9 kB / 370.6 MB, free: 96 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.05496, allocations: 364.5 kB / 370.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.623e-06/0.05496, allocations: 0 / 370.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/0.0935, allocations: 19.62 MB / 390.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/7.618, allocations: 4 kB / 390.5 MB, free: 12.37 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.492105833254755] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcee.airGapDC.psi_e', 'dcee.la.i', 'loadInertia.phi', 'loadInertia.w'] 7.717909179627895 7.731916124 7.707666335 Calling exit ...