Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.001284/0.001284, allocations: 111.8 kB / 18.49 MB, free: 4.562 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.00126/0.00126, allocations: 194.6 kB / 21.43 MB, free: 1.633 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.388/1.388, allocations: 225.6 MB / 249.8 MB, free: 3.602 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.IMS_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 47.92 kB / 366.4 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1037, allocations: 52.14 MB / 418.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01492/0.1186, allocations: 11.86 MB / 430.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006923/0.1256, allocations: 3.755 MB / 434.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.1269, allocations: 91.44 kB / 434.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.129, allocations: 0.9124 MB / 435.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.1321, allocations: 1.138 MB / 436.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.1332, allocations: 487.4 kB / 436.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005196/0.1384, allocations: 4.234 MB / 441 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003237/0.1416, allocations: 2.391 MB / 443.4 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.1445, allocations: 1.955 MB / 445.3 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1914/0.3359, allocations: 2.379 MB / 447.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0013/0.3372, allocations: 0.4949 MB / 448.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.3388, allocations: 0.584 MB / 448.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.34, allocations: 1.416 MB / 450.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002917/0.3429, allocations: 2.209 MB / 452.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.3536, allocations: 6.563 MB / 459 MB, free: 10.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.3536, allocations: 1.094 kB / 459 MB, free: 10.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3536, allocations: 0 / 459 MB, free: 10.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003095/0.3539, allocations: 1.875 kB / 459 MB, free: 10.61 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.01214/0.366, allocations: 4.401 MB / 463.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.3661, allocations: 13.38 kB / 463.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001248/0.3662, allocations: 80.47 kB / 463.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008166/0.367, allocations: 442.3 kB / 463.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.3683, allocations: 459.7 kB / 464.3 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004252/0.3726, allocations: 2.417 MB / 466.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.3727, allocations: 229.8 kB / 467 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006353/0.3734, allocations: 312.6 kB / 467.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007233/0.3806, allocations: 4.369 MB / 471.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.239e-05/0.3807, allocations: 9.719 kB / 471.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003168/0.381, allocations: 126 kB / 471.8 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.3811, allocations: 137.5 kB / 471.9 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005972/0.3871, allocations: 3.776 MB / 475.7 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/0.4083, allocations: 13.41 MB / 489.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/0.4118, allocations: 2.765 MB / 491.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/0.4144, allocations: 1.577 MB / 493.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.4146, allocations: 125.6 kB / 493.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/0.4147, allocations: 51.69 kB / 493.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 3.246e-06/0.4147, allocations: 0 / 493.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.02063/0.4353, allocations: 9.03 MB / 0.4909 GB, free: 14.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.4354, allocations: 69.41 kB / 0.4909 GB, free: 14.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005504/0.4409, allocations: 2.354 MB / 0.4932 GB, free: 11.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002662/0.4412, allocations: 57.7 kB / 0.4933 GB, free: 11.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.4427, allocations: 1.504 MB / 0.4948 GB, free: 10.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000888/0.4435, allocations: 0.6324 MB / 0.4954 GB, free: 9.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009364/0.4445, allocations: 371.4 kB / 0.4957 GB, free: 9.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4446, allocations: 309.1 kB / 0.496 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.4466, allocations: 1.12 MB / 0.4971 GB, free: 7.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.4491, allocations: 1.574 MB / 0.4987 GB, free: 6.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004597/0.4537, allocations: 2.785 MB / 0.5014 GB, free: 3.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.4537, allocations: 4 kB / 0.5014 GB, free: 3.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007227/0.4609, allocations: 3.586 MB / 0.5049 GB, free: 15.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.461, allocations: 12 kB / 0.5049 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/0.461, allocations: 15.94 kB / 0.5049 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002269/0.4633, allocations: 0.8058 MB / 0.5057 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/0.4651, allocations: 460.2 kB / 0.5061 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.4783, allocations: 11.17 MB / 0.517 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/0.4811, allocations: 127.8 kB / 0.5172 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005266/0.4817, allocations: 76 kB / 0.5172 GB, free: 2.52 MB / 414.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.003025/0.4847, allocations: 1.092 MB / 0.5183 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/0.4857, allocations: 262.3 kB / 0.5186 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007815/0.4935, allocations: 3.289 MB / 0.5218 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.4935, allocations: 19.98 kB / 0.5218 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/0.4936, allocations: 8 kB / 0.5218 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/0.4936, allocations: 7.969 kB / 0.5218 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/0.509, allocations: 6.823 MB / 0.5285 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.509, allocations: 4 kB / 0.5285 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.5104, allocations: 293.2 kB / 0.5287 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002806/0.5132, allocations: 0.9292 MB / 0.5297 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/0.5134, allocations: 39.98 kB / 0.5297 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01681/0.5302, allocations: 14.62 MB / 0.544 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.5302, allocations: 7.969 kB / 0.544 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008761/0.539, allocations: 4.855 MB / 0.5487 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/0.5406, allocations: 0.5735 MB / 0.5493 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003915/0.541, allocations: 36 kB / 0.5493 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.5425, allocations: 131.7 kB / 0.5494 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004701/0.543, allocations: 153.2 kB / 0.5496 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.5431, allocations: 55.97 kB / 0.5496 GB, free: 328 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00301/0.5462, allocations: 1.625 MB / 0.5512 GB, free: 14.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5462, allocations: 0 / 0.5512 GB, free: 14.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002667/0.5488, allocations: 0.7071 MB / 0.5519 GB, free: 13.97 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.008941/0.5578, allocations: 5.526 MB / 0.5573 GB, free: 8.406 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006232/0.564, allocations: 3.472 MB / 0.5607 GB, free: 4.883 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.564, allocations: 0 / 0.5607 GB, free: 4.883 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003982/0.568, allocations: 2.441 MB / 0.5631 GB, free: 2.371 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/0.5718, allocations: 0.7167 MB / 0.5638 GB, free: 1.664 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04575/0.6176, allocations: 26.29 MB / 0.5895 GB, free: 6.871 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0031/0.6207, allocations: 2.521 MB / 0.5919 GB, free: 4.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002117/0.6228, allocations: 0.5866 MB / 0.5925 GB, free: 3.727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001931/0.6247, allocations: 1.253 MB / 0.5937 GB, free: 2.473 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6247, allocations: 0 / 0.5937 GB, free: 2.473 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3187/0.9435, allocations: 67.22 MB / 0.6594 GB, free: 167.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.73, allocations: 0 / 0.6594 GB, free: 167.3 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.22089924896136] 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'] 15.912259767996147 15.928135678 15.571397029 Calling exit ...