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.001792/0.001792, allocations: 111.1 kB / 20.22 MB, free: 1.812 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.002258/0.002258, allocations: 215.4 kB / 23.48 MB, free: 5.258 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.5 MB / 257 MB, free: 8.242 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.001896/0.001896, allocations: 71.89 kB / 377.1 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2665, allocations: 53.3 MB / 430.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01172/0.2782, allocations: 9.831 MB / 440.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006471/0.2847, allocations: 3.104 MB / 443.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.2861, allocations: 47.81 kB / 443.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.2883, allocations: 0.6677 MB / 444.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003/0.2913, allocations: 0.7803 MB / 444.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.2925, allocations: 395.4 kB / 445.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003707/0.2962, allocations: 2.432 MB / 447.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.2985, allocations: 1.049 MB / 448.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.3005, allocations: 1.09 MB / 449.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.3031, allocations: 1.347 MB / 451.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000878/0.304, allocations: 276 kB / 451.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.3053, allocations: 383.8 kB / 451.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.3066, allocations: 0.7907 MB / 452.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001841/0.3084, allocations: 1.272 MB / 453.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004518/0.3129, allocations: 3.67 MB / 457.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3129, allocations: 0 / 457.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3129, allocations: 3.938 kB / 457.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.323e-05/0.313, allocations: 3.938 kB / 457.5 MB, free: 11.98 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.005178/0.3182, allocations: 2.651 MB / 460.2 MB, free: 9.266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.3182, allocations: 12.03 kB / 460.2 MB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00036/0.3186, allocations: 274.6 kB / 460.5 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008077/0.3194, allocations: 287.3 kB / 460.7 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/0.322, allocations: 1.378 MB / 462.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.3221, allocations: 143.9 kB / 462.3 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003151/0.3225, allocations: 191.9 kB / 462.4 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004079/0.3265, allocations: 2.426 MB / 464.9 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.036e-05/0.3266, allocations: 4 kB / 464.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.3268, allocations: 76 kB / 464.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.3269, allocations: 91.67 kB / 465 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003303/0.3302, allocations: 1.955 MB / 467 MB, free: 2.344 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.342, allocations: 7.792 MB / 474.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.3437, allocations: 1.165 MB / 475.9 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.3455, allocations: 0.9049 MB / 476.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.3457, allocations: 122.1 kB / 477 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.3458, allocations: 43.56 kB / 477 MB, free: 8.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 3.717e-06/0.3458, allocations: 0 / 477 MB, free: 8.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01289/0.3587, allocations: 5.885 MB / 482.9 MB, free: 1.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.3588, allocations: 76.27 kB / 483 MB, free: 1.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.3611, allocations: 1.302 MB / 484.3 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.3612, allocations: 49.7 kB / 484.3 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007939/0.362, allocations: 0.946 MB / 485.3 MB, free: 15.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.3624, allocations: 408.5 kB / 485.7 MB, free: 15.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004253/0.3628, allocations: 251.5 kB / 485.9 MB, free: 14.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.363, allocations: 365.9 kB / 486.3 MB, free: 14.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.3641, allocations: 0.6402 MB / 486.9 MB, free: 13.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.3654, allocations: 0.9964 MB / 487.9 MB, free: 12.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002485/0.3679, allocations: 1.731 MB / 489.6 MB, free: 10.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.3679, allocations: 4 kB / 489.6 MB, free: 10.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004219/0.3721, allocations: 2.25 MB / 491.9 MB, free: 8.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.3722, allocations: 8 kB / 491.9 MB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/0.3722, allocations: 12 kB / 491.9 MB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.3735, allocations: 498.2 kB / 492.4 MB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.3746, allocations: 299.5 kB / 492.7 MB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008141/0.3828, allocations: 7.128 MB / 499.8 MB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.384, allocations: 87.91 kB / 499.9 MB, free: 164 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.3841, allocations: 59.94 kB / 500 MB, free: 104 kB / 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.001203/0.3853, allocations: 0.6066 MB / 0.4888 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/0.3858, allocations: 155 kB / 0.489 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.3896, allocations: 1.957 MB / 0.4909 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.3896, allocations: 12 kB / 0.4909 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.286e-05/0.3896, allocations: 12 kB / 0.4909 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.3896, allocations: 3.984 kB / 0.4909 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007862/0.3975, allocations: 4.109 MB / 0.4949 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.3975, allocations: 4 kB / 0.4949 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008163/0.3983, allocations: 183.7 kB / 0.4951 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.3998, allocations: 0.5428 MB / 0.4956 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.3999, allocations: 31.98 kB / 0.4957 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0093/0.4092, allocations: 8.757 MB / 0.5042 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.4092, allocations: 3.938 kB / 0.5042 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004887/0.4141, allocations: 2.852 MB / 0.507 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009606/0.4151, allocations: 356.5 kB / 0.5074 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/0.4154, allocations: 31.98 kB / 0.5074 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009445/0.4164, allocations: 67.92 kB / 0.5075 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/0.4166, allocations: 88.83 kB / 0.5075 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-05/0.4167, allocations: 27.98 kB / 0.5076 GB, free: 11.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001691/0.4184, allocations: 0.8957 MB / 0.5084 GB, free: 10.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4184, allocations: 3.938 kB / 0.5084 GB, free: 10.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001755/0.4202, allocations: 440 kB / 0.5089 GB, free: 10.18 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.005493/0.4257, allocations: 3.49 MB / 0.5123 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003723/0.4294, allocations: 2.158 MB / 0.5144 GB, free: 4.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.4294, allocations: 0 / 0.5144 GB, free: 4.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002362/0.4317, allocations: 1.448 MB / 0.5158 GB, free: 2.871 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.4342, allocations: 430.4 kB / 0.5162 GB, free: 2.457 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/0.4618, allocations: 15.7 MB / 0.5315 GB, free: 2.207 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/0.4637, allocations: 1.654 MB / 0.5331 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001082/0.4648, allocations: 332.7 kB / 0.5335 GB, free: 196 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.4659, allocations: 0.718 MB / 0.5342 GB, free: 15.46 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4659, allocations: 0 / 0.5342 GB, free: 15.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3136/0.7795, allocations: 40.07 MB / 0.5733 GB, free: 103.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.77/20.55, allocations: 15.86 kB / 0.5733 GB, free: 103.2 MB / 462.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: 22.95912614907138] 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.654616181971505 20.664919454 20.349583476 Calling exit ...