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_Steinmetz.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.001577/0.001577, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001934/0.001934, allocations: 211.8 kB / 24.54 MB, free: 4.016 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.403/1.403, allocations: 230.6 MB / 258.3 MB, free: 8.031 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_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",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.001886/0.001886, allocations: 64.77 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2471, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01293/0.2601, allocations: 9.827 MB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007051/0.2671, allocations: 3.12 MB / 444.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.2685, allocations: 59.62 kB / 444.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.2703, allocations: 0.6677 MB / 445.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.2728, allocations: 0.796 MB / 446.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009162/0.2737, allocations: 395.4 kB / 446.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003164/0.2769, allocations: 2.44 MB / 449.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.2783, allocations: 1.041 MB / 450.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.28, allocations: 1.114 MB / 451.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.282, allocations: 1.351 MB / 452.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000399/0.2824, allocations: 280 kB / 453 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007242/0.2831, allocations: 383.8 kB / 453.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007991/0.2839, allocations: 0.7829 MB / 454.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.2853, allocations: 1.279 MB / 455.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.2893, allocations: 3.678 MB / 459.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2893, allocations: 0 / 459.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2893, allocations: 0 / 459.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.978e-05/0.2894, allocations: 0 / 459.1 MB, free: 11.53 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.005312/0.2947, allocations: 2.58 MB / 461.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2947, allocations: 8.031 kB / 461.7 MB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003595/0.2951, allocations: 274.6 kB / 462 MB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008916/0.296, allocations: 287.3 kB / 462.3 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.2985, allocations: 1.294 MB / 463.6 MB, free: 7.004 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.2986, allocations: 143.9 kB / 463.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.2989, allocations: 203.9 kB / 463.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004158/0.303, allocations: 2.411 MB / 466.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.084e-05/0.3031, allocations: 4 kB / 466.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.3033, allocations: 79.98 kB / 466.4 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.3034, allocations: 95.62 kB / 466.5 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003474/0.3069, allocations: 1.955 MB / 468.4 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/0.3197, allocations: 7.641 MB / 476.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.3214, allocations: 1.015 MB / 477.1 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.3232, allocations: 0.9085 MB / 478 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002397/0.3234, allocations: 44.95 kB / 478 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.3235, allocations: 47.56 kB / 478.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 3.487e-06/0.3235, allocations: 0 / 478.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01288/0.3363, allocations: 5.509 MB / 483.6 MB, free: 2.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.3364, allocations: 72.34 kB / 483.7 MB, free: 2.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.3388, allocations: 1.31 MB / 485 MB, free: 1.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.3389, allocations: 49.7 kB / 485 MB, free: 1.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007661/0.3397, allocations: 0.9419 MB / 486 MB, free: 200 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003923/0.3401, allocations: 408.7 kB / 486.4 MB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004024/0.3405, allocations: 247.5 kB / 486.6 MB, free: 15.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3406, allocations: 365.9 kB / 487 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.3417, allocations: 0.6364 MB / 487.6 MB, free: 14.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.343, allocations: 1.004 MB / 488.6 MB, free: 13.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/0.3454, allocations: 1.727 MB / 490.3 MB, free: 11.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.3454, allocations: 4 kB / 490.3 MB, free: 11.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003964/0.3494, allocations: 2.242 MB / 492.6 MB, free: 9.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.3494, allocations: 8.312 kB / 492.6 MB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.3494, allocations: 16 kB / 492.6 MB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.3507, allocations: 495.8 kB / 493.1 MB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.3518, allocations: 303.5 kB / 493.4 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007883/0.3597, allocations: 6.817 MB / 0.4885 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.361, allocations: 87.91 kB / 0.4886 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.3611, allocations: 59.94 kB / 0.4886 GB, free: 1.129 MB / 398.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.001104/0.3622, allocations: 0.5992 MB / 0.4892 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/0.3625, allocations: 151 kB / 0.4894 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.366, allocations: 1.957 MB / 0.4913 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.366, allocations: 12.19 kB / 0.4913 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.366, allocations: 4 kB / 0.4913 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.366, allocations: 7.922 kB / 0.4913 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007437/0.3734, allocations: 4.081 MB / 0.4953 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3734, allocations: 4.281 kB / 0.4953 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008164/0.3743, allocations: 187.8 kB / 0.4955 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/0.3758, allocations: 0.5462 MB / 0.496 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/0.3758, allocations: 31.98 kB / 0.496 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009203/0.385, allocations: 8.344 MB / 0.5042 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.3851, allocations: 4.031 kB / 0.5042 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004852/0.3899, allocations: 2.856 MB / 0.507 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009109/0.3908, allocations: 286.8 kB / 0.5072 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.391, allocations: 28 kB / 0.5073 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007499/0.3918, allocations: 67.86 kB / 0.5073 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/0.392, allocations: 96.8 kB / 0.5074 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.061e-05/0.3921, allocations: 35.98 kB / 0.5075 GB, free: 13.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001348/0.3934, allocations: 0.8918 MB / 0.5083 GB, free: 12.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3934, allocations: 0 / 0.5083 GB, free: 12.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001468/0.3949, allocations: 436 kB / 0.5087 GB, free: 11.85 MB / 430.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.005098/0.4, allocations: 3.479 MB / 0.5121 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003565/0.4036, allocations: 1.992 MB / 0.5141 GB, free: 6.266 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.4036, allocations: 8.5 kB / 0.5141 GB, free: 6.258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0023/0.4059, allocations: 1.388 MB / 0.5154 GB, free: 4.816 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.4079, allocations: 437.1 kB / 0.5159 GB, free: 4.398 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02451/0.4324, allocations: 15.69 MB / 0.5312 GB, free: 4.152 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.4339, allocations: 1.65 MB / 0.5328 GB, free: 2.473 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001031/0.4349, allocations: 324.8 kB / 0.5331 GB, free: 2.148 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009529/0.4359, allocations: 0.7257 MB / 0.5338 GB, free: 1.422 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4359, allocations: 3.938 kB / 0.5338 GB, free: 1.418 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.316/0.7519, allocations: 40.96 MB / 0.5738 GB, free: 74.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.11/20.86, allocations: 4.062 kB / 0.5738 GB, free: 74.34 MB / 446.1 MB " [Timeout remaining time 639] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.31771075585857] 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.976696211844683 20.99453855 20.701585503 Calling exit ...