Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.001687/0.001687, allocations: 124.2 kB / 18.5 MB, free: 4.578 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.002005/0.002005, allocations: 214.2 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.4 MB / 254.7 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 63.89 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0971/0.09893, allocations: 53.37 MB / 427.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01541/0.1143, allocations: 11.93 MB / 439 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007705/0.122, allocations: 3.841 MB / 442.8 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.1242, allocations: 95.38 kB / 442.9 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.1271, allocations: 0.9289 MB / 443.9 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003745/0.1308, allocations: 1.134 MB / 445 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.1324, allocations: 0.4955 MB / 445.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2285/0.3608, allocations: 4.262 MB / 449.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003395/0.3642, allocations: 2.395 MB / 452.1 MB, free: 9.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.3683, allocations: 1.974 MB / 454.1 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005506/0.3738, allocations: 2.39 MB / 456.5 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001922/0.3757, allocations: 0.4949 MB / 457 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.3781, allocations: 0.597 MB / 457.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002045/0.3802, allocations: 1.415 MB / 459 MB, free: 8.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005062/0.3852, allocations: 2.213 MB / 461.2 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009403/0.3946, allocations: 6.595 MB / 467.8 MB, free: 4.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3946, allocations: 3.562 kB / 467.8 MB, free: 4.785 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3946, allocations: 0 / 467.8 MB, free: 4.785 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002297/0.3949, allocations: 1.312 kB / 467.8 MB, free: 4.785 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01226/0.4071, allocations: 4.413 MB / 472.2 MB, free: 2.297 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4072, allocations: 9.656 kB / 472.2 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000109/0.4073, allocations: 91.59 kB / 472.3 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007955/0.4081, allocations: 438.8 kB / 472.8 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.4096, allocations: 490.4 kB / 473.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004848/0.4145, allocations: 2.428 MB / 475.7 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.4147, allocations: 233.9 kB / 475.9 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009592/0.4156, allocations: 311.9 kB / 476.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.4283, allocations: 4.372 MB / 480.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.4284, allocations: 7.547 kB / 480.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007008/0.4291, allocations: 126.3 kB / 480.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.4293, allocations: 128.5 kB / 480.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008875/0.4381, allocations: 3.783 MB / 484.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02862/0.4667, allocations: 13.4 MB / 498 MB, free: 120 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/0.4708, allocations: 2.76 MB / 0.489 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/0.4738, allocations: 1.57 MB / 0.4906 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002992/0.4741, allocations: 137 kB / 0.4907 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.4741, allocations: 51.88 kB / 0.4908 GB, free: 11.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.657e-06/0.4741, allocations: 0 / 0.4908 GB, free: 11.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.0199/0.4941, allocations: 9.024 MB / 0.4996 GB, free: 2.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.4941, allocations: 77.41 kB / 0.4996 GB, free: 2.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004308/0.4984, allocations: 2.373 MB / 0.502 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003894/0.4988, allocations: 61.69 kB / 0.502 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.5002, allocations: 1.504 MB / 0.5035 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000863/0.5011, allocations: 0.636 MB / 0.5041 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007003/0.5018, allocations: 367.5 kB / 0.5045 GB, free: 13.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5019, allocations: 301.1 kB / 0.5047 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.5038, allocations: 1.124 MB / 0.5058 GB, free: 11.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002352/0.5062, allocations: 1.574 MB / 0.5074 GB, free: 10.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004307/0.5105, allocations: 2.787 MB / 0.5101 GB, free: 7.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.5105, allocations: 0 / 0.5101 GB, free: 7.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007112/0.5176, allocations: 3.6 MB / 0.5136 GB, free: 3.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.5177, allocations: 16.56 kB / 0.5136 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/0.5177, allocations: 12 kB / 0.5136 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/0.5199, allocations: 0.7923 MB / 0.5144 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/0.5218, allocations: 460.8 kB / 0.5149 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.534, allocations: 11.18 MB / 0.5258 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/0.5364, allocations: 123.9 kB / 0.5259 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/0.5368, allocations: 76 kB / 0.526 GB, free: 6.344 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002315/0.5391, allocations: 1.098 MB / 0.527 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006936/0.5398, allocations: 262.3 kB / 0.5273 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006341/0.5461, allocations: 3.279 MB / 0.5305 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.5461, allocations: 20 kB / 0.5305 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.5461, allocations: 8 kB / 0.5305 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/0.5462, allocations: 8.031 kB / 0.5305 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.5598, allocations: 6.85 MB / 0.5372 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.5598, allocations: 0 / 0.5372 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.5612, allocations: 298.1 kB / 0.5375 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/0.5638, allocations: 0.9192 MB / 0.5384 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/0.564, allocations: 39.98 kB / 0.5384 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01588/0.5799, allocations: 14.63 MB / 0.5527 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.5799, allocations: 7.125 kB / 0.5527 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009353/0.5893, allocations: 4.848 MB / 0.5575 GB, free: 5.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/0.5912, allocations: 0.5809 MB / 0.558 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005778/0.5917, allocations: 39.92 kB / 0.5581 GB, free: 4.453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.5933, allocations: 119.9 kB / 0.5582 GB, free: 4.336 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004648/0.5938, allocations: 153.8 kB / 0.5583 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.5939, allocations: 44 kB / 0.5584 GB, free: 4.141 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003036/0.597, allocations: 1.641 MB / 0.56 GB, free: 2.484 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.597, allocations: 3.938 kB / 0.56 GB, free: 2.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00298/0.5999, allocations: 0.7184 MB / 0.5607 GB, free: 1.766 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.008951/0.6089, allocations: 5.505 MB / 0.5661 GB, free: 12.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00576/0.6146, allocations: 3.487 MB / 0.5695 GB, free: 8.688 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.6147, allocations: 0 / 0.5695 GB, free: 8.688 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003961/0.6186, allocations: 2.433 MB / 0.5718 GB, free: 6.176 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004012/0.6226, allocations: 0.7199 MB / 0.5725 GB, free: 5.473 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05023/0.6729, allocations: 26.36 MB / 0.5983 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002786/0.6756, allocations: 2.526 MB / 0.6008 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001858/0.6775, allocations: 0.5945 MB / 0.6013 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/0.6795, allocations: 1.261 MB / 0.6026 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of SimCode: time 7.62e-07/0.6795, allocations: 0 / 0.6026 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3284/1.008, allocations: 67.5 MB / 0.6685 GB, free: 177.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/16.29, allocations: 6.719 kB / 0.6685 GB, free: 177.8 MB / 0.5294 GB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.916965481999796] Failed to read output from testmodel.py, exit status != 0: ['time', '// aims.i_0_r', 'aims.ir[1]', 'aims.ir[2]', 'aims.idq_rr[1]', 'aims.idq_rr[2]', 'aims.is[1]', 'aims.is[2]', 'aims.idq_sr[1]', 'aims.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w'] 16.47330693702679 16.491679763 16.093245875 Calling exit ...