Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.0018/0.0018, allocations: 120.1 kB / 18.49 MB, free: 4.559 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.002227/0.002227, allocations: 214.3 kB / 21.46 MB, free: 1.605 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.498/1.498, allocations: 230.4 MB / 254.7 MB, free: 14.82 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.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 59.91 kB / 373.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1105, allocations: 53.38 MB / 427.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.2401/0.3506, allocations: 9.464 MB / 436.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00537/0.356, allocations: 3.066 MB / 439.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.3575, allocations: 59.06 kB / 439.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.3595, allocations: 0.6735 MB / 440.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003198/0.3627, allocations: 0.8065 MB / 441.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009008/0.3636, allocations: 369 kB / 441.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003647/0.3672, allocations: 2.68 MB / 444.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.3692, allocations: 1.533 MB / 445.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.3713, allocations: 1.229 MB / 446.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.3738, allocations: 1.535 MB / 448.5 MB, free: 352 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000641/0.3744, allocations: 308.2 kB / 448.8 MB, free: 352 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.3756, allocations: 417.3 kB / 449.2 MB, free: 316 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.3766, allocations: 0.8951 MB / 450.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.3787, allocations: 1.41 MB / 451.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005672/0.3843, allocations: 4.121 MB / 455.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3844, allocations: 2.438 kB / 455.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3844, allocations: 0 / 455.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000141/0.3845, allocations: 0 / 455.6 MB, free: 13.13 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.007303/0.3918, allocations: 2.931 MB / 458.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3918, allocations: 10.5 kB / 458.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.885e-05/0.3919, allocations: 56.69 kB / 458.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004683/0.3924, allocations: 300.9 kB / 458.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.3936, allocations: 334.2 kB / 459.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/0.3967, allocations: 1.559 MB / 460.8 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.3968, allocations: 152.9 kB / 460.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003727/0.3972, allocations: 204.1 kB / 461.1 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004955/0.4021, allocations: 2.745 MB / 463.9 MB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.587e-05/0.4022, allocations: 6.766 kB / 463.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/0.4024, allocations: 82.69 kB / 464 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.4025, allocations: 91.62 kB / 464.1 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004392/0.4069, allocations: 2.33 MB / 466.4 MB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.4211, allocations: 8.332 MB / 474.7 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.4234, allocations: 1.704 MB / 476.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.4254, allocations: 1.023 MB / 477.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.4256, allocations: 118.1 kB / 477.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.4257, allocations: 47.55 kB / 477.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.716e-06/0.4257, allocations: 0 / 477.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.0142/0.4399, allocations: 6.239 MB / 483.9 MB, free: 7.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.4399, allocations: 64.41 kB / 483.9 MB, free: 7.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.4424, allocations: 1.529 MB / 485.4 MB, free: 5.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.4426, allocations: 45.7 kB / 485.5 MB, free: 5.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008118/0.4434, allocations: 1.013 MB / 486.5 MB, free: 4.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/0.4438, allocations: 436.3 kB / 486.9 MB, free: 4.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004265/0.4442, allocations: 247.5 kB / 487.2 MB, free: 3.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4444, allocations: 365.9 kB / 487.5 MB, free: 3.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.4456, allocations: 0.7345 MB / 488.3 MB, free: 2.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.447, allocations: 1.052 MB / 489.3 MB, free: 1.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002739/0.4497, allocations: 1.883 MB / 491.2 MB, free: 15.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.4497, allocations: 4 kB / 491.2 MB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00428/0.454, allocations: 2.347 MB / 493.5 MB, free: 13.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.4541, allocations: 12 kB / 493.6 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.4541, allocations: 12.34 kB / 493.6 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.4551, allocations: 406.8 kB / 494 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.4564, allocations: 331.5 kB / 494.3 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005526/0.4619, allocations: 5.076 MB / 499.4 MB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.4634, allocations: 95.92 kB / 499.5 MB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.4635, allocations: 48 kB / 499.5 MB, free: 6.852 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.001305/0.4648, allocations: 0.712 MB / 0.4885 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.4651, allocations: 174.9 kB / 0.4887 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0039/0.469, allocations: 2.133 MB / 0.4907 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.4691, allocations: 15.98 kB / 0.4908 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4691, allocations: 4 kB / 0.4908 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.4691, allocations: 3.984 kB / 0.4908 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008043/0.4771, allocations: 4.56 MB / 0.4952 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4771, allocations: 3.938 kB / 0.4952 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009994/0.4781, allocations: 227.9 kB / 0.4954 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.4795, allocations: 466.1 kB / 0.4959 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.456e-05/0.4796, allocations: 31.98 kB / 0.4959 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006854/0.4864, allocations: 6.687 MB / 0.5024 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4864, allocations: 4 kB / 0.5025 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005384/0.4918, allocations: 3.185 MB / 0.5056 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.4928, allocations: 407.9 kB / 0.5059 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/0.4931, allocations: 31.98 kB / 0.506 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008729/0.494, allocations: 71.92 kB / 0.506 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.4943, allocations: 108.8 kB / 0.5062 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.442e-05/0.4943, allocations: 39.98 kB / 0.5062 GB, free: 3.383 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001696/0.496, allocations: 1.048 MB / 0.5072 GB, free: 2.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.496, allocations: 4 kB / 0.5072 GB, free: 2.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001644/0.4977, allocations: 459.9 kB / 0.5077 GB, free: 1.883 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.005628/0.5033, allocations: 3.818 MB / 0.5114 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003776/0.5071, allocations: 2.198 MB / 0.5135 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.5071, allocations: 0 / 0.5135 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00242/0.5095, allocations: 1.442 MB / 0.5149 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/0.512, allocations: 446.2 kB / 0.5154 GB, free: 9.805 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03149/0.5435, allocations: 17.48 MB / 0.5324 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001806/0.5453, allocations: 1.826 MB / 0.5342 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001413/0.5467, allocations: 393.6 kB / 0.5346 GB, free: 5.508 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/0.5479, allocations: 0.8078 MB / 0.5354 GB, free: 4.699 MB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/0.5479, allocations: 0 / 0.5354 GB, free: 4.699 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/0.6491, allocations: 43.79 MB / 0.5781 GB, free: 9.289 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.34/20.99, allocations: 23.66 kB / 0.5782 GB, free: 9.27 MB / 494.1 MB " [Timeout remaining time 639] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.689158816996496] 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.153692513005808 21.16776137 20.780421604 Calling exit ...