Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008374/0.0008374, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9214/0.9214, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.079e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006427/0.006448, allocations: 7.076 MB / 331.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003717/0.01016, allocations: 2.458 MB / 334.1 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007399/0.0109, allocations: 27.88 kB / 334.1 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.01205, allocations: 0.5246 MB / 334.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007445/0.01279, allocations: 0.5039 MB / 335.2 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.01313, allocations: 235.7 kB / 335.4 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.01439, allocations: 1.496 MB / 336.9 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.01481, allocations: 371.8 kB / 337.3 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00068/0.01549, allocations: 0.8418 MB / 338.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.01583, allocations: 426.6 kB / 338.5 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.713e-05/0.01593, allocations: 136 kB / 338.7 MB, free: 1.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.01611, allocations: 179.9 kB / 338.8 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.01624, allocations: 278.9 kB / 339.1 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.01651, allocations: 454.9 kB / 339.5 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.01757, allocations: 1.698 MB / 341.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01757, allocations: 0 / 341.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.01757, allocations: 0 / 341.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.01759, allocations: 0 / 341.2 MB, free: 15.17 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.001337/0.01892, allocations: 1.379 MB / 342.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.01896, allocations: 15.97 kB / 342.6 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.01907, allocations: 148.3 kB / 342.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.01936, allocations: 176 kB / 343 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007239/0.02008, allocations: 0.6649 MB / 343.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.02012, allocations: 70 kB / 343.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003265/0.02045, allocations: 99.94 kB / 343.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000912/0.02136, allocations: 0.9982 MB / 344.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.02138, allocations: 0 / 344.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.02142, allocations: 44 kB / 344.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.02144, allocations: 24 kB / 344.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/0.02217, allocations: 0.6207 MB / 345.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00277/0.02494, allocations: 3.489 MB / 349 MB, free: 7.113 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.02529, allocations: 263.4 kB / 349.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.02546, allocations: 136.8 kB / 349.4 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.02548, allocations: 4.531 kB / 349.4 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.0255, allocations: 42.5 kB / 349.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.363e-06/0.02551, allocations: 0 / 349.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001441/0.02695, allocations: 1.063 MB / 350.5 MB, free: 5.559 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.02699, allocations: 81.11 kB / 350.5 MB, free: 5.461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006846/0.02767, allocations: 0.8408 MB / 351.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.02769, allocations: 29.7 kB / 351.4 MB, free: 4.574 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.02796, allocations: 0.5811 MB / 352 MB, free: 3.984 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.02802, allocations: 130.9 kB / 352.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.02812, allocations: 126.6 kB / 352.2 MB, free: 3.727 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.02821, allocations: 337.9 kB / 352.6 MB, free: 3.391 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.02839, allocations: 145.9 kB / 352.7 MB, free: 3.246 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.02871, allocations: 489.8 kB / 353.2 MB, free: 2.621 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/0.02926, allocations: 0.6315 MB / 353.8 MB, free: 1.848 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.02927, allocations: 4 kB / 353.8 MB, free: 1.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007402/0.03001, allocations: 0.6964 MB / 354.5 MB, free: 1.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.03002, allocations: 12 kB / 354.5 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.03003, allocations: 8 kB / 354.5 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/0.03016, allocations: 36.84 kB / 354.6 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.03042, allocations: 155.7 kB / 354.7 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007596/0.03118, allocations: 1.287 MB / 356 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.03144, allocations: 31.98 kB / 356 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.03146, allocations: 32 kB / 356.1 MB, free: 15.46 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.0002326/0.0317, allocations: 261.5 kB / 356.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.03177, allocations: 91.59 kB / 356.4 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004578/0.03223, allocations: 378.4 kB / 356.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.03223, allocations: 8.031 kB / 356.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.03224, allocations: 0 / 356.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.03224, allocations: 3.984 kB / 356.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.03336, allocations: 1.149 MB / 358 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.03337, allocations: 0 / 358 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.03353, allocations: 75.89 kB / 358 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.369e-05/0.03358, allocations: 20.84 kB / 358.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.0336, allocations: 15.94 kB / 358.1 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006139/0.03421, allocations: 1.271 MB / 359.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.03421, allocations: 3.938 kB / 359.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005902/0.03481, allocations: 0.6247 MB / 360 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.03495, allocations: 123.4 kB / 360.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.03499, allocations: 8 kB / 360.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.03517, allocations: 19.98 kB / 360.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.03523, allocations: 35.88 kB / 360.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.03524, allocations: 12 kB / 360.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004702/0.03571, allocations: 0.5615 MB / 360.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03571, allocations: 3.938 kB / 360.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004246/0.03614, allocations: 191.9 kB / 360.9 MB, free: 10.37 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.0008282/0.03696, allocations: 1.197 MB / 362.1 MB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006213/0.03759, allocations: 0.5001 MB / 362.6 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.03759, allocations: 4 kB / 362.6 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.03781, allocations: 246.5 kB / 362.9 MB, free: 8.352 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.03843, allocations: 211.9 kB / 363.1 MB, free: 8.148 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007025/0.04546, allocations: 7.037 MB / 370.1 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.04571, allocations: 409 kB / 370.5 MB, free: 228 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002331/0.04594, allocations: 110.9 kB / 370.6 MB, free: 112 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.04623, allocations: 368.5 kB / 371 MB, free: 15.75 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.04623, allocations: 0 / 371 MB, free: 15.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.07759, allocations: 19.63 MB / 390.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.616, allocations: 14.83 kB / 390.6 MB, free: 12.41 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.457977196201682] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcee.airGapDC.psi_e', 'dcee.la.i', 'loadInertia.phi', 'loadInertia.w'] 7.714939427562058 7.727128453 7.707207904 Calling exit ...