Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 115.7 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 190.6 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 55.91 kB / 366.4 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09915, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01161/0.1108, allocations: 9.74 MB / 428.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006563/0.1173, allocations: 3.034 MB / 431.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.1186, allocations: 59.62 kB / 431.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.1203, allocations: 0.66 MB / 432 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002364/0.1226, allocations: 0.7843 MB / 432.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008125/0.1235, allocations: 367.5 kB / 433.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00272/0.1262, allocations: 2.432 MB / 435.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.1278, allocations: 1.271 MB / 436.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.1291, allocations: 1.11 MB / 438 MB, free: 9.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.1307, allocations: 1.335 MB / 439.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003475/0.1311, allocations: 280 kB / 439.6 MB, free: 7.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.1317, allocations: 371.8 kB / 439.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007533/0.1324, allocations: 0.7907 MB / 440.7 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.1336, allocations: 1.268 MB / 442 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.1372, allocations: 3.651 MB / 445.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1372, allocations: 0 / 445.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1372, allocations: 0 / 445.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.589e-05/0.1373, allocations: 3.938 kB / 445.6 MB, free: 1.328 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.1773/0.3146, allocations: 2.628 MB / 448.3 MB, free: 28.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3146, allocations: 10.34 kB / 448.3 MB, free: 28.87 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.533e-05/0.3147, allocations: 57.34 kB / 448.3 MB, free: 28.86 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002884/0.315, allocations: 277.2 kB / 448.6 MB, free: 28.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006213/0.3156, allocations: 272.4 kB / 448.9 MB, free: 28.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.3175, allocations: 1.371 MB / 450.2 MB, free: 28.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.106e-05/0.3176, allocations: 142 kB / 450.4 MB, free: 28.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.3178, allocations: 190.7 kB / 450.6 MB, free: 28.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/0.3212, allocations: 2.423 MB / 453 MB, free: 27.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.033e-05/0.3212, allocations: 4.156 kB / 453 MB, free: 27.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.3214, allocations: 81.31 kB / 453.1 MB, free: 27.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.3215, allocations: 94.69 kB / 453.2 MB, free: 27.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003286/0.3248, allocations: 1.953 MB / 455.1 MB, free: 27.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.3359, allocations: 7.778 MB / 462.9 MB, free: 22.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.3374, allocations: 1.166 MB / 464.1 MB, free: 22.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.3392, allocations: 0.9099 MB / 465 MB, free: 22.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.3394, allocations: 130 kB / 465.1 MB, free: 21.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.3394, allocations: 46.09 kB / 465.1 MB, free: 21.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.346e-06/0.3394, allocations: 0 / 465.1 MB, free: 21.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01287/0.3523, allocations: 5.882 MB / 471 MB, free: 18.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.3523, allocations: 67.56 kB / 471.1 MB, free: 18.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.354, allocations: 1.304 MB / 472.4 MB, free: 18.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/0.354, allocations: 45.98 kB / 472.4 MB, free: 18.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/0.3545, allocations: 0.9372 MB / 473.4 MB, free: 17.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.3547, allocations: 410.4 kB / 473.8 MB, free: 16.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/0.355, allocations: 247.2 kB / 474 MB, free: 16.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.3551, allocations: 363.9 kB / 474.4 MB, free: 16.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/0.356, allocations: 0.6376 MB / 475 MB, free: 16.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009796/0.357, allocations: 0.9965 MB / 476 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.3589, allocations: 1.733 MB / 477.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.3589, allocations: 3.781 kB / 477.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003238/0.3622, allocations: 2.248 MB / 480 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.3622, allocations: 11.81 kB / 480 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.3622, allocations: 11.84 kB / 480 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.3633, allocations: 499.3 kB / 480.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009425/0.3642, allocations: 304.1 kB / 480.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005152/0.3694, allocations: 7.134 MB / 487.9 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.3704, allocations: 83.88 kB / 488 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.3705, allocations: 63.92 kB / 488.1 MB, free: 5.766 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008187/0.3713, allocations: 0.595 MB / 488.7 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.3716, allocations: 155.1 kB / 488.8 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/0.3743, allocations: 1.958 MB / 490.8 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3743, allocations: 8 kB / 490.8 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.3743, allocations: 11.94 kB / 490.8 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.3743, allocations: 7.969 kB / 490.8 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00601/0.3804, allocations: 4.108 MB / 494.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.3804, allocations: 0 / 494.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008226/0.3812, allocations: 187.7 kB / 495.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.3827, allocations: 0.5423 MB / 495.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.1e-05/0.3828, allocations: 27.98 kB / 495.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009093/0.3918, allocations: 8.767 MB / 0.4926 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3919, allocations: 4 kB / 0.4926 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004781/0.3966, allocations: 2.851 MB / 0.4954 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007983/0.3974, allocations: 360 kB / 0.4957 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.3976, allocations: 28.11 kB / 0.4958 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007802/0.3984, allocations: 67.92 kB / 0.4958 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.3986, allocations: 96.84 kB / 0.4959 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-05/0.3987, allocations: 32 kB / 0.496 GB, free: 1.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001329/0.4, allocations: 0.8839 MB / 0.4968 GB, free: 356 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4, allocations: 0 / 0.4968 GB, free: 356 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001598/0.4016, allocations: 444 kB / 0.4972 GB, free: 15.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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%), (2,8,100.0%), (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.005104/0.4067, allocations: 3.476 MB / 0.5006 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003567/0.4103, allocations: 2.158 MB / 0.5028 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4103, allocations: 0 / 0.5028 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.4126, allocations: 1.456 MB / 0.5042 GB, free: 8.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.4146, allocations: 413 kB / 0.5046 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02358/0.4382, allocations: 15.67 MB / 0.5199 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.4396, allocations: 1.646 MB / 0.5215 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000912/0.4405, allocations: 320.8 kB / 0.5218 GB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009484/0.4415, allocations: 0.7171 MB / 0.5225 GB, free: 5.301 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4415, allocations: 3.938 kB / 0.5225 GB, free: 5.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08106/0.5225, allocations: 39.85 MB / 0.5614 GB, free: 13.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.7/20.22, allocations: 16.66 kB / 0.5614 GB, free: 13.87 MB / 462.1 MB " [Timeout remaining time 640] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.658357132051606] 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]', 'cRun.v', 'cStart.v', 'loadInertia.phi', 'loadInertia.w'] 20.38065273396205 20.395920931 20.255612097 Calling exit ...