Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001284/0.001284, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.001553/0.001553, allocations: 219.2 kB / 23 MB, free: 5.582 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.458/1.458, allocations: 230.5 MB / 256.5 MB, free: 8.168 MB / 206.1 MB " [Timeout remaining time 178] 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.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",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.001829/0.001829, allocations: 71.83 kB / 376.2 MB, free: 4.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2479, allocations: 53.31 MB / 429.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01121/0.2591, allocations: 9.036 MB / 438.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005527/0.2646, allocations: 2.964 MB / 441.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008858/0.2655, allocations: 43.81 kB / 441.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.267, allocations: 0.6407 MB / 442.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.2689, allocations: 0.769 MB / 443 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.2696, allocations: 343.4 kB / 443.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002673/0.2723, allocations: 2.38 MB / 445.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.2737, allocations: 1.016 MB / 446.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.2752, allocations: 1.078 MB / 447.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.2771, allocations: 1.386 MB / 449.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003837/0.2775, allocations: 280 kB / 449.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006997/0.2782, allocations: 383.8 kB / 449.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008135/0.279, allocations: 0.8141 MB / 450.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.2804, allocations: 1.264 MB / 451.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004101/0.2845, allocations: 3.718 MB / 455.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2845, allocations: 0 / 455.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2845, allocations: 0 / 455.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.298e-05/0.2846, allocations: 0 / 455.6 MB, free: 13.19 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005179/0.2897, allocations: 2.658 MB / 458.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2898, allocations: 8.031 kB / 458.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003466/0.2901, allocations: 266 kB / 458.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009673/0.2911, allocations: 303.3 kB / 458.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.2935, allocations: 1.417 MB / 460.3 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.2936, allocations: 135.7 kB / 460.4 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/0.2939, allocations: 191.9 kB / 460.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003977/0.2979, allocations: 2.41 MB / 463 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/0.2979, allocations: 4 kB / 463 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.2981, allocations: 72 kB / 463.1 MB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.2982, allocations: 83.5 kB / 463.1 MB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003518/0.3017, allocations: 2.02 MB / 465.2 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.3133, allocations: 7.392 MB / 472.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.3152, allocations: 1.214 MB / 473.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.317, allocations: 0.8573 MB / 474.6 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.3172, allocations: 126 kB / 474.8 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.3172, allocations: 43.56 kB / 474.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.364e-06/0.3172, allocations: 0 / 474.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009852/0.3271, allocations: 4.919 MB / 479.7 MB, free: 4.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.3271, allocations: 64.34 kB / 479.8 MB, free: 4.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.3293, allocations: 1.393 MB / 481.2 MB, free: 3.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.3294, allocations: 45.7 kB / 481.2 MB, free: 2.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007844/0.3302, allocations: 0.9266 MB / 482.1 MB, free: 2.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.3305, allocations: 368.9 kB / 482.5 MB, free: 1.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003746/0.3309, allocations: 214.9 kB / 482.7 MB, free: 1.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3311, allocations: 353.9 kB / 483.1 MB, free: 1.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.3321, allocations: 0.635 MB / 483.7 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.3334, allocations: 0.9259 MB / 484.6 MB, free: 15.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.3358, allocations: 1.641 MB / 486.3 MB, free: 13.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.3358, allocations: 7.938 kB / 486.3 MB, free: 13.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004519/0.3404, allocations: 2.376 MB / 488.6 MB, free: 11.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.3404, allocations: 8 kB / 488.7 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.3404, allocations: 8 kB / 488.7 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.3423, allocations: 0.7164 MB / 489.4 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008958/0.3432, allocations: 239.6 kB / 489.6 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.3551, allocations: 8.742 MB / 498.4 MB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.3563, allocations: 83.86 kB / 498.4 MB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.3564, allocations: 44 kB / 498.5 MB, free: 1.164 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * 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,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00118/0.3576, allocations: 0.6264 MB / 499.1 MB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.358, allocations: 151.2 kB / 499.3 MB, free: 388 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.3616, allocations: 1.897 MB / 0.4894 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.3616, allocations: 12 kB / 0.4894 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3616, allocations: 4 kB / 0.4894 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.3616, allocations: 3.984 kB / 0.4894 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007213/0.3688, allocations: 4.009 MB / 0.4933 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3688, allocations: 0 / 0.4933 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008066/0.3696, allocations: 176 kB / 0.4935 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.3709, allocations: 466.9 kB / 0.494 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-05/0.371, allocations: 35.91 kB / 0.494 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00735/0.3783, allocations: 6.683 MB / 0.5005 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3783, allocations: 3.938 kB / 0.5005 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/0.383, allocations: 2.772 MB / 0.5032 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007049/0.3837, allocations: 368 kB / 0.5036 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.3839, allocations: 23.98 kB / 0.5036 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007377/0.3846, allocations: 67.92 kB / 0.5037 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.3848, allocations: 84.81 kB / 0.5037 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/0.3849, allocations: 31.94 kB / 0.5038 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001551/0.3864, allocations: 0.9664 MB / 0.5047 GB, free: 14.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3864, allocations: 0 / 0.5047 GB, free: 14.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001462/0.3879, allocations: 431.9 kB / 0.5051 GB, free: 13.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.004987/0.3929, allocations: 3.403 MB / 0.5085 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003639/0.3965, allocations: 1.952 MB / 0.5104 GB, free: 8.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3965, allocations: 0 / 0.5104 GB, free: 8.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002194/0.3987, allocations: 1.306 MB / 0.5116 GB, free: 6.945 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.4006, allocations: 387.3 kB / 0.512 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/0.4272, allocations: 16.39 MB / 0.528 GB, free: 5.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/0.4288, allocations: 1.693 MB / 0.5297 GB, free: 3.984 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009591/0.4297, allocations: 316 kB / 0.53 GB, free: 3.672 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009758/0.4307, allocations: 0.7101 MB / 0.5307 GB, free: 2.961 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4307, allocations: 4 kB / 0.5307 GB, free: 2.957 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3041/0.7348, allocations: 40.49 MB / 0.5702 GB, free: 108.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.4/18.14, allocations: 11.34 kB / 0.5702 GB, free: 108.8 MB / 462.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.500885598012246] 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'] 18.241148061002605 18.250290524 17.963419551 Calling exit ...