Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.001305/0.001305, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.0014/0.0014, allocations: 215.5 kB / 23.48 MB, free: 5.227 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.375/1.375, allocations: 230.4 MB / 257 MB, free: 8.258 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.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",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.001903/0.001903, allocations: 67.88 kB / 377.1 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2853, allocations: 53.31 MB / 430.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.0153/0.3006, allocations: 11.95 MB / 442.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00874/0.3093, allocations: 4.017 MB / 446.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.3117, allocations: 63.75 kB / 446.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002952/0.3147, allocations: 0.8891 MB / 447.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004196/0.3189, allocations: 1.025 MB / 448.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.3204, allocations: 0.5382 MB / 448.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004725/0.3251, allocations: 3.47 MB / 452.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/0.3273, allocations: 1.541 MB / 453.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.3298, allocations: 1.55 MB / 455.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003055/0.3328, allocations: 1.985 MB / 457.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006987/0.3335, allocations: 408 kB / 457.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.3349, allocations: 0.6479 MB / 458.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.3361, allocations: 1.161 MB / 459.6 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002263/0.3384, allocations: 1.851 MB / 461.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006584/0.345, allocations: 5.403 MB / 466.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.345, allocations: 4 kB / 466.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.345, allocations: 0 / 466.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001289/0.3451, allocations: 3.938 kB / 466.9 MB, free: 2.574 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.008007/0.3531, allocations: 3.809 MB / 470.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3532, allocations: 11.97 kB / 470.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005133/0.3537, allocations: 392 kB / 471.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.3554, allocations: 490.5 kB / 471.6 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003849/0.3592, allocations: 1.994 MB / 473.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.3594, allocations: 201.4 kB / 473.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004161/0.3598, allocations: 268 kB / 474 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006046/0.3659, allocations: 3.521 MB / 477.5 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.899e-05/0.366, allocations: 4 kB / 477.5 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.3662, allocations: 112 kB / 477.7 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/0.3663, allocations: 125.2 kB / 477.8 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005087/0.3714, allocations: 2.968 MB / 480.7 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01848/0.3899, allocations: 11 MB / 491.8 MB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.3929, allocations: 2.191 MB / 493.9 MB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.395, allocations: 1.098 MB / 495 MB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/0.3953, allocations: 207.5 kB / 495.2 MB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.3953, allocations: 51.88 kB / 495.3 MB, free: 5.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 4.318e-06/0.3953, allocations: 0 / 495.3 MB, free: 5.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01678/0.4121, allocations: 7.549 MB / 0.4911 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.4122, allocations: 64.72 kB / 0.4911 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003977/0.4162, allocations: 2 MB / 0.4931 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.4163, allocations: 45.7 kB / 0.4931 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.4175, allocations: 1.347 MB / 0.4944 GB, free: 10.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005877/0.4181, allocations: 0.5346 MB / 0.495 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000659/0.4188, allocations: 319.5 kB / 0.4953 GB, free: 9.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4189, allocations: 313.1 kB / 0.4956 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.4205, allocations: 0.8822 MB / 0.4964 GB, free: 8.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/0.4225, allocations: 1.375 MB / 0.4978 GB, free: 6.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003696/0.4262, allocations: 2.373 MB / 0.5001 GB, free: 3.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.462e-05/0.4262, allocations: 8 kB / 0.5001 GB, free: 3.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005685/0.4319, allocations: 2.991 MB / 0.503 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.432, allocations: 12 kB / 0.503 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/0.432, allocations: 16 kB / 0.503 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.4332, allocations: 462.5 kB / 0.5035 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.4348, allocations: 427.3 kB / 0.5039 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007502/0.4423, allocations: 6.098 MB / 0.5098 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.4442, allocations: 123.9 kB / 0.51 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.4445, allocations: 79.92 kB / 0.51 GB, free: 9.465 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001926/0.4464, allocations: 0.8563 MB / 0.5109 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007917/0.4472, allocations: 230.5 kB / 0.5111 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005053/0.4522, allocations: 2.576 MB / 0.5136 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/0.4523, allocations: 16 kB / 0.5136 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.4523, allocations: 8 kB / 0.5136 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.4523, allocations: 7.969 kB / 0.5136 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/0.4639, allocations: 5.615 MB / 0.5191 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.4639, allocations: 4 kB / 0.5191 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.4651, allocations: 275.6 kB / 0.5194 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/0.4665, allocations: 0.4983 MB / 0.5199 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.4666, allocations: 39.97 kB / 0.5199 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008671/0.4753, allocations: 7.682 MB / 0.5274 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.4753, allocations: 7.938 kB / 0.5274 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006847/0.4821, allocations: 3.829 MB / 0.5312 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/0.4836, allocations: 495.5 kB / 0.5316 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00056/0.4841, allocations: 35.98 kB / 0.5317 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.4856, allocations: 95.89 kB / 0.5318 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/0.4859, allocations: 125 kB / 0.5319 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.486, allocations: 43.98 kB / 0.5319 GB, free: 2.316 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002774/0.4888, allocations: 1.364 MB / 0.5332 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4888, allocations: 0 / 0.5332 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002524/0.4913, allocations: 0.5897 MB / 0.5338 GB, free: 348 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,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.2354/0.7267, allocations: 4.507 MB / 0.5382 GB, free: 99.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004208/0.731, allocations: 2.512 MB / 0.5407 GB, free: 98.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.731, allocations: 1.375 kB / 0.5407 GB, free: 98.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00239/0.7333, allocations: 1.548 MB / 0.5422 GB, free: 97.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.7361, allocations: 0.5067 MB / 0.5427 GB, free: 97.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/0.7675, allocations: 21.82 MB / 0.564 GB, free: 81.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/0.7695, allocations: 2.136 MB / 0.5661 GB, free: 79.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001293/0.7708, allocations: 473 kB / 0.5665 GB, free: 78.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/0.772, allocations: 1.062 MB / 0.5676 GB, free: 77.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/0.772, allocations: 0 / 0.5676 GB, free: 77.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/0.8835, allocations: 53.97 MB / 0.6203 GB, free: 23.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/15.09, allocations: 6.391 kB / 0.6203 GB, free: 23.97 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.513143909862265] Failed to read output from testmodel.py, exit status != 0: ['time', 'smee.is[1]', 'smee.is[2]', 'smee.idq_dr[1]', 'smee.idq_rr[2]', 'smee.idq_sr[1]', 'smee.idq_sr[2]', 'smee.inertiaRotor.phi', 'smee.inertiaRotor.w', 'smee.lesigma.i'] 15.206090537132695 15.225898096 14.876924808 Calling exit ...