Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 254.8 MB, free: 15.07 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.94 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1193, allocations: 53.33 MB / 427 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.2651/0.3844, allocations: 9.46 MB / 436.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005914/0.3903, allocations: 3.056 MB / 439.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.392, allocations: 60.5 kB / 439.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.3938, allocations: 0.6751 MB / 440.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.3968, allocations: 0.8121 MB / 441.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.3979, allocations: 369.8 kB / 441.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003965/0.4019, allocations: 2.672 MB / 444.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.4041, allocations: 1.532 MB / 445.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.4065, allocations: 1.231 MB / 446.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.4093, allocations: 1.535 MB / 448.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006643/0.41, allocations: 308 kB / 448.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.4113, allocations: 413.2 kB / 449.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009039/0.4122, allocations: 0.8992 MB / 450 MB, free: 120 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00228/0.4145, allocations: 1.409 MB / 451.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006387/0.4209, allocations: 4.121 MB / 455.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4209, allocations: 0 / 455.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4209, allocations: 0 / 455.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001423/0.421, allocations: 0 / 455.6 MB, free: 13.44 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008229/0.4293, allocations: 2.938 MB / 458.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.4293, allocations: 9.906 kB / 458.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001011/0.4294, allocations: 57.41 kB / 458.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005236/0.4299, allocations: 293 kB / 458.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.4313, allocations: 329.9 kB / 459.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/0.4343, allocations: 1.569 MB / 460.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.4345, allocations: 154.1 kB / 460.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.4348, allocations: 210.2 kB / 461.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005353/0.4402, allocations: 2.724 MB / 463.8 MB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/0.4402, allocations: 15.2 kB / 463.8 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/0.4405, allocations: 85.36 kB / 463.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.4406, allocations: 97.05 kB / 464 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004368/0.4449, allocations: 2.321 MB / 466.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.4606, allocations: 8.334 MB / 474.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.463, allocations: 1.706 MB / 476.4 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.465, allocations: 1.01 MB / 477.4 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.4653, allocations: 118.1 kB / 477.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.4654, allocations: 51.5 kB / 477.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.567e-06/0.4654, allocations: 0 / 477.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.0143/0.4797, allocations: 6.236 MB / 483.8 MB, free: 7.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.4797, allocations: 64.41 kB / 483.8 MB, free: 7.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.4823, allocations: 1.521 MB / 485.4 MB, free: 5.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.4825, allocations: 49.7 kB / 485.4 MB, free: 5.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008539/0.4833, allocations: 1.017 MB / 486.4 MB, free: 4.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004441/0.4838, allocations: 436.3 kB / 486.9 MB, free: 4.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004469/0.4842, allocations: 251.5 kB / 487.1 MB, free: 4.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.4844, allocations: 361.9 kB / 487.5 MB, free: 3.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.4856, allocations: 0.7275 MB / 488.2 MB, free: 2.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.4871, allocations: 1.059 MB / 489.2 MB, free: 1.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002786/0.4899, allocations: 1.879 MB / 491.1 MB, free: 15.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.4899, allocations: 4 kB / 491.1 MB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004406/0.4943, allocations: 2.35 MB / 493.5 MB, free: 13.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.4943, allocations: 12 kB / 493.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.4943, allocations: 11.94 kB / 493.5 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.4954, allocations: 407.5 kB / 493.9 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.4966, allocations: 331.5 kB / 494.2 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00572/0.5023, allocations: 5.079 MB / 499.3 MB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.5039, allocations: 87.86 kB / 499.4 MB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.5041, allocations: 55.98 kB / 499.4 MB, free: 7.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001429/0.5055, allocations: 0.7159 MB / 0.4884 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000413/0.5059, allocations: 174.9 kB / 0.4886 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003994/0.5099, allocations: 2.129 MB / 0.4907 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.5099, allocations: 12 kB / 0.4907 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.5099, allocations: 0 / 0.4907 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.5099, allocations: 7.984 kB / 0.4907 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008629/0.5186, allocations: 4.561 MB / 0.4952 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.5186, allocations: 0 / 0.4952 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.5196, allocations: 227.6 kB / 0.4954 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.5209, allocations: 463 kB / 0.4958 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.521, allocations: 35.97 kB / 0.4958 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007171/0.5282, allocations: 6.699 MB / 0.5024 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.5282, allocations: 4.062 kB / 0.5024 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005579/0.5338, allocations: 3.177 MB / 0.5055 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.535, allocations: 407.9 kB / 0.5059 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.5352, allocations: 32 kB / 0.5059 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/0.5361, allocations: 71.91 kB / 0.506 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003104/0.5364, allocations: 108.7 kB / 0.5061 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.5365, allocations: 35.98 kB / 0.5061 GB, free: 3.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001748/0.5382, allocations: 1.052 MB / 0.5071 GB, free: 2.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5382, allocations: 0 / 0.5071 GB, free: 2.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001771/0.54, allocations: 471.9 kB / 0.5076 GB, free: 2.199 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.005789/0.5458, allocations: 3.816 MB / 0.5113 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003924/0.5497, allocations: 2.192 MB / 0.5135 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.5497, allocations: 4.547 kB / 0.5135 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.5521, allocations: 1.437 MB / 0.5149 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.5546, allocations: 452.8 kB / 0.5153 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03069/0.5853, allocations: 17.47 MB / 0.5324 GB, free: 8.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/0.5871, allocations: 1.83 MB / 0.5342 GB, free: 6.219 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001318/0.5884, allocations: 397.6 kB / 0.5345 GB, free: 5.824 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/0.5896, allocations: 0.8039 MB / 0.5353 GB, free: 5.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5896, allocations: 4 kB / 0.5353 GB, free: 5.016 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09826/0.6879, allocations: 43.79 MB / 0.5781 GB, free: 9.656 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.27/20.95, allocations: 23.36 kB / 0.5781 GB, free: 9.637 MB / 494.1 MB " [Timeout remaining time 639] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.55684127699351] 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'] 21.11976340902038 21.136956069 20.712961364 Calling exit ...