Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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.001387/0.001387, allocations: 81.27 kB / 19.18 MB, free: 2.531 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.459/1.459, allocations: 177.1 MB / 199.4 MB, free: 8.449 MB / 190.1 MB " [Timeout remaining time 178] 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.002111/0.002111, allocations: 165.1 kB / 256 MB, free: 4.305 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04086/0.04086, allocations: 6.654 MB / 319 MB, free: 5.375 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 446 MB, free: 25.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.109e-05, allocations: 2.281 kB / 446 MB, free: 25.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01148/0.0115, allocations: 14.45 MB / 460.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008368/0.01986, allocations: 5.306 MB / 465.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002799/0.02266, allocations: 123.3 kB / 465.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003031/0.02569, allocations: 1.223 MB / 467.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004421/0.03012, allocations: 1.595 MB / 468.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.03235, allocations: 1.018 MB / 469.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006668/0.03902, allocations: 4.864 MB / 474.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003524/0.04254, allocations: 1.913 MB / 476.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006318/0.04886, allocations: 3.111 MB / 479.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003868/0.05273, allocations: 1.948 MB / 481.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001254/0.05398, allocations: 0.5547 MB / 482.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.0562, allocations: 0.7847 MB / 482.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.05752, allocations: 1.266 MB / 484.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003539/0.06106, allocations: 1.618 MB / 485.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1793/0.2403, allocations: 7.413 MB / 493.2 MB, free: 27.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2403, allocations: 1.719 kB / 493.2 MB, free: 27.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2403, allocations: 0 / 493.2 MB, free: 27.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000233/0.2406, allocations: 0 / 493.2 MB, free: 27.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01509/0.2557, allocations: 4.838 MB / 498 MB, free: 25.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2557, allocations: 14.23 kB / 498 MB, free: 25.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005829/0.2615, allocations: 0.9387 MB / 499 MB, free: 25.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006427/0.268, allocations: 2.684 MB / 0.4899 GB, free: 24.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/0.2682, allocations: 277.2 kB / 0.4901 GB, free: 24.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/0.2695, allocations: 370.3 kB / 0.4905 GB, free: 24.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009064/0.2785, allocations: 4.84 MB / 0.4952 GB, free: 22.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.921e-05/0.2786, allocations: 0 / 0.4952 GB, free: 22.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003517/0.279, allocations: 159.3 kB / 0.4954 GB, free: 22.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/0.2791, allocations: 154.7 kB / 0.4955 GB, free: 22.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006157/0.2852, allocations: 3.898 MB / 0.4993 GB, free: 20.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.3056, allocations: 13.24 MB / 0.5123 GB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004004/0.3096, allocations: 2.528 MB / 0.5147 GB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.3117, allocations: 1.356 MB / 0.5161 GB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005842/0.3176, allocations: 3.304 MB / 0.5193 GB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3176, allocations: 47.56 kB / 0.5193 GB, free: 3.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=125): time 4.378e-06/0.3176, allocations: 0 / 0.5193 GB, free: 3.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=156): time 0.01316/0.3308, allocations: 5.919 MB / 0.5251 GB, free: 13.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.3308, allocations: 76.39 kB / 0.5252 GB, free: 13.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003804/0.3346, allocations: 1.855 MB / 0.527 GB, free: 11.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.3348, allocations: 53.7 kB / 0.527 GB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001847/0.3366, allocations: 1.777 MB / 0.5288 GB, free: 9.516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006005/0.3372, allocations: 0.5538 MB / 0.5293 GB, free: 8.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008119/0.338, allocations: 407.1 kB / 0.5297 GB, free: 8.566 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3382, allocations: 305.1 kB / 0.53 GB, free: 8.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.3398, allocations: 0.7774 MB / 0.5308 GB, free: 7.484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.3423, allocations: 1.566 MB / 0.5323 GB, free: 5.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01776/0.3601, allocations: 4.843 MB / 0.537 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.073e-05/0.3601, allocations: 8 kB / 0.537 GB, free: 500 kB / 366.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.007003/0.3671, allocations: 2.863 MB / 0.5398 GB, free: 13.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/0.3671, allocations: 16 kB / 0.5398 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.634e-05/0.3672, allocations: 24 kB / 0.5399 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.3685, allocations: 367.9 kB / 0.5402 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/0.3706, allocations: 488.2 kB / 0.5407 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006217/0.3769, allocations: 3.889 MB / 0.5445 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.379, allocations: 91.88 kB / 0.5446 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003308/0.3793, allocations: 104 kB / 0.5447 GB, free: 8.773 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (256): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(4,23,68.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002942/0.3823, allocations: 1.092 MB / 0.5457 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000723/0.383, allocations: 218.6 kB / 0.5459 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/0.3875, allocations: 1.951 MB / 0.5478 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.3876, allocations: 16 kB / 0.5479 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.3876, allocations: 4 kB / 0.5479 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/0.3876, allocations: 7.969 kB / 0.5479 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.3987, allocations: 4.551 MB / 0.5523 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.3988, allocations: 7.984 kB / 0.5523 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/0.4001, allocations: 264.3 kB / 0.5526 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009453/0.401, allocations: 291.7 kB / 0.5529 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.4012, allocations: 39.98 kB / 0.5529 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005683/0.4068, allocations: 3.649 MB / 0.5565 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4069, allocations: 3.844 kB / 0.5565 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005741/0.4126, allocations: 2.897 MB / 0.5593 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.4139, allocations: 378.5 kB / 0.5597 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000683/0.4146, allocations: 39.94 kB / 0.5597 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.4161, allocations: 56.06 kB / 0.5597 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003215/0.4164, allocations: 117.1 kB / 0.5599 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.4166, allocations: 43.98 kB / 0.5599 GB, free: 9.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002904/0.4195, allocations: 1.212 MB / 0.5611 GB, free: 7.844 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4195, allocations: 0 / 0.5611 GB, free: 7.844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00323/0.4227, allocations: 0.6405 MB / 0.5617 GB, free: 7.203 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 (smee.phiMechanical,smee.is[2],smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re) * 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 (132): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,22,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005123/0.4232, allocations: 168.4 kB / 0.5619 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005402/0.4286, allocations: 2.129 MB / 0.5639 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.4286, allocations: 0 / 0.5639 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002178/0.4308, allocations: 1.02 MB / 0.5649 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/0.4345, allocations: 486.3 kB / 0.5654 GB, free: 3.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.4506, allocations: 6.052 MB / 0.5713 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00368/0.4542, allocations: 1.892 MB / 0.5732 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002091/0.4563, allocations: 482 kB / 0.5736 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006782/0.457, allocations: 152.4 kB / 0.5738 GB, free: 10.86 MB / 414.1 MB Notification: Performance of SimCode: time 1.263e-06/0.457, allocations: 0 / 0.5738 GB, free: 10.86 MB / 414.1 MB Notification: Performance of Templates: time 0.0584/0.5154, allocations: 28.6 MB / 0.6017 GB, free: 14.75 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.676305420696735] Failed to read output from testmodel.py, exit status != 0: 0.5242209993302822 0.541002448 0.297260184 Calling exit ...