Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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.0008951/0.0008951, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008492/0.0008492, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8895/0.8895, allocations: 177.1 MB / 204.2 MB, free: 5.738 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.InductionMachines.IMC_YD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.227e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.007362/0.007384, allocations: 9.168 MB / 333.7 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004998/0.01238, allocations: 3.112 MB / 336.9 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009296/0.01331, allocations: 75.5 kB / 336.9 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.01457, allocations: 0.6985 MB / 337.6 MB, free: 2.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.01658, allocations: 0.9547 MB / 338.6 MB, free: 1.863 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006756/0.01725, allocations: 427.3 kB / 339 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002822/0.02007, allocations: 3.534 MB / 342.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.02167, allocations: 1.377 MB / 343.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.02448, allocations: 2.253 MB / 346.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.02623, allocations: 1.668 MB / 347.8 MB, free: 8.531 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004483/0.02668, allocations: 396 kB / 348.2 MB, free: 8.145 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006299/0.02731, allocations: 0.4919 MB / 348.7 MB, free: 7.652 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007329/0.02804, allocations: 1.157 MB / 349.9 MB, free: 6.492 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.02915, allocations: 1.22 MB / 351.1 MB, free: 5.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.03252, allocations: 5.317 MB / 356.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.03253, allocations: 0 / 356.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.03253, allocations: 4 kB / 356.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.919e-05/0.03258, allocations: 3.938 kB / 356.4 MB, free: 15.93 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.003886/0.03646, allocations: 3.518 MB / 359.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.0365, allocations: 8.031 kB / 359.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002989/0.0368, allocations: 367 kB / 360.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005842/0.03739, allocations: 406.7 kB / 360.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.03936, allocations: 1.878 MB / 362.6 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.623e-05/0.03945, allocations: 201.4 kB / 362.8 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.03969, allocations: 260.1 kB / 363 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003535/0.04323, allocations: 3.636 MB / 366.7 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.04327, allocations: 7.953 kB / 366.7 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.04343, allocations: 104 kB / 366.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.046e-05/0.0435, allocations: 112.9 kB / 366.9 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.04662, allocations: 3.091 MB / 370 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009033/0.05565, allocations: 9.8 MB / 379.8 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.05763, allocations: 2.035 MB / 381.8 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.05893, allocations: 1.299 MB / 383.1 MB, free: 4.734 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.05909, allocations: 49.28 kB / 383.1 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.06022, allocations: 1.252 MB / 384.4 MB, free: 3.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=156): time 2.525e-06/0.06022, allocations: 0 / 384.4 MB, free: 3.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=172): time 0.01169/0.07191, allocations: 8.455 MB / 392.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.072, allocations: 180.2 kB / 393 MB, free: 10.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.0738, allocations: 1.875 MB / 394.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/0.07388, allocations: 57.7 kB / 395 MB, free: 8.727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006934/0.07458, allocations: 1.226 MB / 396.2 MB, free: 7.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/0.07491, allocations: 0.5849 MB / 396.8 MB, free: 6.898 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003801/0.07529, allocations: 343.5 kB / 397.1 MB, free: 6.559 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.07537, allocations: 309.1 kB / 397.4 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.0764, allocations: 0.9994 MB / 398.4 MB, free: 5.254 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.07781, allocations: 1.535 MB / 399.9 MB, free: 3.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/0.08041, allocations: 2.45 MB / 402.4 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.08043, allocations: 4 kB / 402.4 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.003602/0.08403, allocations: 3.32 MB / 405.7 MB, free: 13.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.08405, allocations: 8 kB / 405.7 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.08407, allocations: 16.03 kB / 405.7 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.08532, allocations: 0.8795 MB / 406.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.08597, allocations: 335.5 kB / 407 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007613/0.09359, allocations: 10.02 MB / 417 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009116/0.0945, allocations: 143.9 kB / 417.1 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.023e-05/0.09459, allocations: 64 kB / 417.2 MB, free: 1.777 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001101/0.09569, allocations: 0.9214 MB / 418.1 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.0959, allocations: 218.6 kB / 418.3 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/0.09924, allocations: 3.095 MB / 421.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.09926, allocations: 20 kB / 421.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.274e-05/0.09931, allocations: 8 kB / 421.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.09932, allocations: 7.969 kB / 421.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006593/0.1059, allocations: 5.862 MB / 427.3 MB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1059, allocations: 0 / 427.3 MB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.1064, allocations: 215.7 kB / 427.5 MB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.1077, allocations: 0.9213 MB / 428.4 MB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.184e-05/0.1078, allocations: 39.98 kB / 428.5 MB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008093/0.1159, allocations: 11.52 MB / 440 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1159, allocations: 0 / 440 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004393/0.1203, allocations: 4.496 MB / 444.5 MB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005961/0.1209, allocations: 438.4 kB / 444.9 MB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.121, allocations: 39.98 kB / 445 MB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.1215, allocations: 103.9 kB / 445.1 MB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/0.1218, allocations: 200.9 kB / 445.3 MB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/0.1219, allocations: 51.92 kB / 445.3 MB, free: 4.973 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001181/0.1231, allocations: 1.271 MB / 446.6 MB, free: 3.711 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1231, allocations: 384 / 446.6 MB, free: 3.711 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001283/0.1244, allocations: 0.6328 MB / 447.2 MB, free: 3.078 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,25,33.3%), (2,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.1618/0.2862, allocations: 5.161 MB / 452.4 MB, free: 113.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003638/0.2898, allocations: 3.005 MB / 455.4 MB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.2898, allocations: 2.406 kB / 455.4 MB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001939/0.2918, allocations: 2.09 MB / 457.5 MB, free: 112.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.2935, allocations: 0.5677 MB / 458 MB, free: 112 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/0.3154, allocations: 22.47 MB / 480.5 MB, free: 93.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.3165, allocations: 1.63 MB / 482.1 MB, free: 91.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008453/0.3173, allocations: 457.6 kB / 482.6 MB, free: 90.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006891/0.318, allocations: 1.012 MB / 483.6 MB, free: 89.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.318, allocations: 4 kB / 483.6 MB, free: 89.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07048/0.3885, allocations: 64.4 MB / 0.5352 GB, free: 26.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.783, allocations: 4.062 kB / 0.5352 GB, free: 26.19 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.689329743385315] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w'] 8.899635410867631 8.907870986 8.873601501 Calling exit ...