Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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.001595/0.001595, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.435/1.435, allocations: 230.6 MB / 253.4 MB, free: 8.309 MB / 206.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.00164/0.00164, allocations: 224.8 kB / 310 MB, free: 3.121 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.04029/0.04029, allocations: 8.912 MB / 375.3 MB, free: 1.887 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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 88.14 kB / 0.4905 GB, free: 6.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3363, allocations: 55.61 MB / 0.5448 GB, free: 27.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01473/0.3511, allocations: 16.69 MB / 0.5611 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.3618, allocations: 5.6 MB / 0.5666 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003743/0.3655, allocations: 121.3 kB / 0.5667 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004188/0.3697, allocations: 1.268 MB / 0.5679 GB, free: 10.36 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.006087/0.3758, allocations: 1.571 MB / 0.5695 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.3792, allocations: 1.06 MB / 0.5705 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007802/0.387, allocations: 4.644 MB / 0.575 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005696/0.3927, allocations: 1.996 MB / 0.577 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005411/0.3981, allocations: 2.117 MB / 0.579 GB, free: 4.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00589/0.404, allocations: 2.483 MB / 0.5815 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002355/0.4063, allocations: 0.5595 MB / 0.582 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00447/0.4108, allocations: 0.7961 MB / 0.5828 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002987/0.4138, allocations: 1.25 MB / 0.584 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006757/0.4206, allocations: 2.383 MB / 0.5863 GB, free: 216 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.4358, allocations: 7.371 MB / 0.5935 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.4358, allocations: 0 / 0.5935 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.4359, allocations: 1.156 kB / 0.5935 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003494/0.4362, allocations: 0 / 0.5935 GB, free: 10.64 MB / 398.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.0187/0.4549, allocations: 4.89 MB / 0.5983 GB, free: 6.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.455, allocations: 8.031 kB / 0.5983 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005484/0.4604, allocations: 0.9429 MB / 0.5992 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007593/0.468, allocations: 2.702 MB / 0.6019 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/0.4683, allocations: 275.8 kB / 0.6021 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/0.4696, allocations: 368.1 kB / 0.6025 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.4807, allocations: 4.67 MB / 0.6071 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.687e-05/0.4808, allocations: 11.95 kB / 0.6071 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004222/0.4812, allocations: 156 kB / 0.6072 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/0.4814, allocations: 155.3 kB / 0.6074 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008316/0.4897, allocations: 3.901 MB / 0.6112 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03071/0.5204, allocations: 14.95 MB / 0.6258 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004759/0.5252, allocations: 2.44 MB / 0.6282 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002316/0.5275, allocations: 1.187 MB / 0.6293 GB, free: 5.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008562/0.536, allocations: 3.542 MB / 0.6328 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/0.5361, allocations: 43.56 kB / 0.6328 GB, free: 2.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=118): time 3.617e-06/0.5361, allocations: 0 / 0.6328 GB, free: 2.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=144): time 0.01247/0.5486, allocations: 5.176 MB / 0.6379 GB, free: 13.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.5486, allocations: 64.72 kB / 0.6379 GB, free: 12.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/0.5523, allocations: 2.17 MB / 0.6401 GB, free: 10.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002069/0.5526, allocations: 49.64 kB / 0.6401 GB, free: 10.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.554, allocations: 1.794 MB / 0.6419 GB, free: 8.867 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005969/0.5546, allocations: 0.5269 MB / 0.6424 GB, free: 8.336 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000672/0.5553, allocations: 412 kB / 0.6428 GB, free: 7.926 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5554, allocations: 305.1 kB / 0.643 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.5568, allocations: 0.7696 MB / 0.6438 GB, free: 6.852 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.5587, allocations: 1.537 MB / 0.6453 GB, free: 4.953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/0.574, allocations: 4.787 MB / 0.65 GB, free: 15.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.924e-05/0.5741, allocations: 11.94 kB / 0.65 GB, free: 15.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005367/0.5794, allocations: 2.798 MB / 0.6527 GB, free: 12.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.5795, allocations: 18.03 kB / 0.6527 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/0.5795, allocations: 24 kB / 0.6528 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008124/0.5803, allocations: 278.3 kB / 0.653 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.5821, allocations: 0.4914 MB / 0.6535 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/0.5864, allocations: 3.291 MB / 0.6567 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.5886, allocations: 103.9 kB / 0.6568 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/0.5888, allocations: 104 kB / 0.6569 GB, free: 8.582 MB / 462.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[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (261): * Single equations (assignments): 259 * 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 {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002301/0.5911, allocations: 1.083 MB / 0.658 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005889/0.5917, allocations: 242.4 kB / 0.6582 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/0.5952, allocations: 1.759 MB / 0.6599 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.5952, allocations: 12 kB / 0.6599 GB, free: 5.465 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.5952, allocations: 4 kB / 0.6599 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.5952, allocations: 11.97 kB / 0.66 GB, free: 5.449 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009537/0.6047, allocations: 4.959 MB / 0.6648 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.6047, allocations: 7.938 kB / 0.6648 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.6059, allocations: 259.9 kB / 0.665 GB, free: 132 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006764/0.6066, allocations: 216.7 kB / 0.6653 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.914e-05/0.6067, allocations: 31.98 kB / 0.6653 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004041/0.6108, allocations: 3.153 MB / 0.6684 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.6108, allocations: 0 / 0.6684 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004695/0.6154, allocations: 2.673 MB / 0.671 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.6168, allocations: 394.4 kB / 0.6714 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004112/0.6172, allocations: 32 kB / 0.6714 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.6183, allocations: 59.89 kB / 0.6714 GB, free: 9.418 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/0.6185, allocations: 109 kB / 0.6715 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.875e-05/0.6186, allocations: 39.98 kB / 0.6716 GB, free: 9.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002502/0.6211, allocations: 1.455 MB / 0.673 GB, free: 7.797 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6211, allocations: 0 / 0.673 GB, free: 7.797 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002622/0.6237, allocations: 0.6328 MB / 0.6736 GB, free: 7.164 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.zeroInductor.i0,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 (125): * Single equations (assignments): 124 * 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 {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003994/0.6241, allocations: 167.1 kB / 0.6738 GB, free: 6.992 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003768/0.6279, allocations: 1.99 MB / 0.6757 GB, free: 4.988 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.6279, allocations: 4 kB / 0.6757 GB, free: 4.984 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.6295, allocations: 0.8868 MB / 0.6766 GB, free: 4.086 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/0.6325, allocations: 0.5873 MB / 0.6772 GB, free: 3.504 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.6449, allocations: 6.065 MB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/0.6473, allocations: 2.371 MB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007769/0.6481, allocations: 175.4 kB / 0.6856 GB, free: 10.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6481, allocations: 0 / 0.6856 GB, free: 10.8 MB / 494.1 MB Notification: Performance of Templates: time 0.3644/1.013, allocations: 69.74 MB / 0.7537 GB, free: 83.66 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.614638078957796] Failed to read output from testmodel.py, exit status != 0: 1.0223432818893343 1.031603289 0.5931362419999999 Calling exit ...