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.001721/0.001721, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00214/0.00214, allocations: 212.4 kB / 24.54 MB, free: 4.016 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.001946/0.001946, allocations: 64.77 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2562, allocations: 53.38 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01447/0.2706, allocations: 11.95 MB / 443.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008275/0.2789, allocations: 4.013 MB / 447.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002493/0.2814, allocations: 79.5 kB / 448 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002869/0.2843, allocations: 0.9011 MB / 448.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003854/0.2881, allocations: 1.037 MB / 449.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.2897, allocations: 0.5343 MB / 450.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004964/0.2947, allocations: 3.475 MB / 453.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002413/0.2971, allocations: 1.541 MB / 455.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.2996, allocations: 1.585 MB / 457 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003441/0.3031, allocations: 1.989 MB / 459 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008373/0.3039, allocations: 416 kB / 459.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.3055, allocations: 0.6947 MB / 460.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.3067, allocations: 1.161 MB / 461.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002563/0.3093, allocations: 1.839 MB / 463.1 MB, free: 7.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006637/0.3159, allocations: 5.41 MB / 468.5 MB, free: 2.086 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3159, allocations: 0 / 468.5 MB, free: 2.086 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3159, allocations: 0 / 468.5 MB, free: 2.086 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001486/0.3161, allocations: 0 / 468.5 MB, free: 2.086 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.008914/0.325, allocations: 3.745 MB / 472.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.325, allocations: 15.97 kB / 472.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006018/0.3256, allocations: 380.1 kB / 472.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.3274, allocations: 490.5 kB / 473.2 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/0.3314, allocations: 1.914 MB / 475.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.3316, allocations: 205.4 kB / 475.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004616/0.332, allocations: 268 kB / 475.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006419/0.3385, allocations: 3.525 MB / 479.1 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.59e-05/0.3385, allocations: 7.938 kB / 479.1 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/0.3388, allocations: 108 kB / 479.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/0.3389, allocations: 121.2 kB / 479.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005552/0.3445, allocations: 2.968 MB / 482.3 MB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01914/0.3636, allocations: 10.84 MB / 493.1 MB, free: 9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/0.3663, allocations: 1.498 MB / 494.6 MB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.3683, allocations: 1.098 MB / 495.7 MB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.3686, allocations: 57.27 kB / 495.7 MB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.3686, allocations: 43.88 kB / 495.8 MB, free: 6.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 2.796e-06/0.3686, allocations: 4 kB / 495.8 MB, free: 6.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01626/0.3849, allocations: 7.101 MB / 0.4911 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.3849, allocations: 64.72 kB / 0.4912 GB, free: 15.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003295/0.3882, allocations: 1.992 MB / 0.4931 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.3884, allocations: 49.7 kB / 0.4932 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.3894, allocations: 1.35 MB / 0.4945 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004801/0.3899, allocations: 0.5267 MB / 0.495 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005373/0.3905, allocations: 323.5 kB / 0.4953 GB, free: 10.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3906, allocations: 305.1 kB / 0.4956 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.3921, allocations: 0.8939 MB / 0.4965 GB, free: 9.598 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.394, allocations: 1.372 MB / 0.4978 GB, free: 8.023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003644/0.3976, allocations: 2.381 MB / 0.5001 GB, free: 5.434 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.3977, allocations: 4 kB / 0.5001 GB, free: 5.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005553/0.4032, allocations: 2.915 MB / 0.503 GB, free: 2.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.4032, allocations: 12.38 kB / 0.503 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.4033, allocations: 20 kB / 0.503 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.4045, allocations: 454.2 kB / 0.5034 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.4062, allocations: 427.3 kB / 0.5039 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007194/0.4133, allocations: 5.906 MB / 0.5096 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.4154, allocations: 123.8 kB / 0.5097 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/0.4156, allocations: 71.98 kB / 0.5098 GB, free: 11.27 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.001696/0.4173, allocations: 0.8525 MB / 0.5106 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005441/0.4178, allocations: 226.5 kB / 0.5109 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004713/0.4225, allocations: 2.508 MB / 0.5133 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-05/0.4226, allocations: 16 kB / 0.5133 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.4226, allocations: 4 kB / 0.5133 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.4226, allocations: 7.969 kB / 0.5133 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009962/0.4326, allocations: 5.515 MB / 0.5187 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.4326, allocations: 4.406 kB / 0.5187 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.4338, allocations: 283.5 kB / 0.519 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.4352, allocations: 0.4892 MB / 0.5195 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.4353, allocations: 43.98 kB / 0.5195 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008688/0.444, allocations: 7.364 MB / 0.5267 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.444, allocations: 4 kB / 0.5267 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006533/0.4505, allocations: 3.765 MB / 0.5304 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.4517, allocations: 422.4 kB / 0.5308 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/0.452, allocations: 32 kB / 0.5308 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.4532, allocations: 99.89 kB / 0.5309 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.4535, allocations: 137 kB / 0.531 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.4536, allocations: 43.98 kB / 0.5311 GB, free: 4.906 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002195/0.4558, allocations: 1.372 MB / 0.5324 GB, free: 3.512 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4558, allocations: 0 / 0.5324 GB, free: 3.512 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001969/0.4577, allocations: 0.582 MB / 0.533 GB, free: 2.93 MB / 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.2102/0.668, allocations: 4.419 MB / 0.5373 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004235/0.6722, allocations: 2.446 MB / 0.5397 GB, free: 99.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.6722, allocations: 0.9375 kB / 0.5397 GB, free: 99.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002396/0.6746, allocations: 1.546 MB / 0.5412 GB, free: 98.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/0.6774, allocations: 0.497 MB / 0.5417 GB, free: 98.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/0.7063, allocations: 21.67 MB / 0.5629 GB, free: 83.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.7076, allocations: 2.144 MB / 0.565 GB, free: 81.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001347/0.709, allocations: 469 kB / 0.5654 GB, free: 81.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/0.71, allocations: 1.062 MB / 0.5664 GB, free: 80.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.502e-06/0.71, allocations: 0 / 0.5664 GB, free: 80.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09654/0.8066, allocations: 55.17 MB / 0.6203 GB, free: 25.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.2, allocations: 0 / 0.6203 GB, free: 25.32 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.802963061723858] 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.312929533887655 15.329557777 15.010045995 Calling exit ...