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.001327/0.001327, allocations: 80.28 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.401/1.401, 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.001566/0.001566, allocations: 166.9 kB / 256 MB, free: 4.32 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.03949/0.03949, allocations: 6.661 MB / 319 MB, free: 5.387 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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 446 MB, free: 25.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.641e-05, allocations: 2.281 kB / 446 MB, free: 25.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01114/0.01116, allocations: 14.45 MB / 460.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007126/0.01828, allocations: 5.306 MB / 465.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.01954, allocations: 123.3 kB / 465.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.02169, allocations: 1.223 MB / 467.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.02449, allocations: 1.61 MB / 468.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.02612, allocations: 1.014 MB / 469.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004757/0.03088, allocations: 4.861 MB / 474.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/0.03356, allocations: 1.913 MB / 476.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/0.03753, allocations: 3.111 MB / 479.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002812/0.04034, allocations: 1.944 MB / 481.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007645/0.04111, allocations: 0.5547 MB / 482.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.04251, allocations: 0.7769 MB / 482.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.04365, allocations: 1.274 MB / 484.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001962/0.04562, allocations: 1.622 MB / 485.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1709/0.2165, allocations: 7.414 MB / 493.2 MB, free: 27.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2165, allocations: 1.156 kB / 493.2 MB, free: 27.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2165, allocations: 0 / 493.2 MB, free: 27.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002183/0.2167, allocations: 0 / 493.2 MB, free: 27.01 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.01388/0.2306, allocations: 4.834 MB / 498 MB, free: 25.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2307, allocations: 13.7 kB / 498 MB, free: 25.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005418/0.2361, allocations: 0.9386 MB / 499 MB, free: 25.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005587/0.2417, allocations: 2.686 MB / 0.4899 GB, free: 24.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.2419, allocations: 275.7 kB / 0.4901 GB, free: 24.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000688/0.2426, allocations: 368.6 kB / 0.4905 GB, free: 24.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007622/0.2502, allocations: 4.832 MB / 0.4952 GB, free: 22.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-05/0.2503, allocations: 0 / 0.4952 GB, free: 22.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003508/0.2506, allocations: 152.5 kB / 0.4954 GB, free: 22.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.2507, allocations: 153.6 kB / 0.4955 GB, free: 22.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005489/0.2562, allocations: 3.898 MB / 0.4993 GB, free: 20.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01895/0.2752, allocations: 13.07 MB / 0.5121 GB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00379/0.2789, allocations: 2.408 MB / 0.5144 GB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.2807, allocations: 1.198 MB / 0.5156 GB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005487/0.2862, allocations: 3.152 MB / 0.5187 GB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.2862, allocations: 51.41 kB / 0.5187 GB, free: 3.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=118): time 2.736e-06/0.2862, allocations: 0 / 0.5187 GB, free: 3.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01024/0.2964, allocations: 5.144 MB / 0.5238 GB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.2965, allocations: 68.72 kB / 0.5238 GB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.2996, allocations: 1.946 MB / 0.5257 GB, free: 12.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.2997, allocations: 49.7 kB / 0.5258 GB, free: 12.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.3011, allocations: 1.805 MB / 0.5275 GB, free: 10.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/0.3015, allocations: 0.5136 MB / 0.528 GB, free: 10.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006393/0.3021, allocations: 408 kB / 0.5284 GB, free: 9.875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3023, allocations: 305.1 kB / 0.5287 GB, free: 9.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.3035, allocations: 0.7657 MB / 0.5295 GB, free: 8.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/0.3055, allocations: 1.569 MB / 0.531 GB, free: 6.887 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01536/0.3208, allocations: 4.781 MB / 0.5357 GB, free: 1.863 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/0.3208, allocations: 8 kB / 0.5357 GB, free: 1.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004796/0.3256, allocations: 2.776 MB / 0.5384 GB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.3257, allocations: 18.95 kB / 0.5384 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/0.3257, allocations: 24 kB / 0.5384 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007695/0.3265, allocations: 278.9 kB / 0.5387 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.3282, allocations: 0.4917 MB / 0.5392 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004447/0.3327, allocations: 3.206 MB / 0.5423 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.3345, allocations: 99.81 kB / 0.5424 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.3347, allocations: 104 kB / 0.5425 GB, free: 10.98 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[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.002437/0.3371, allocations: 1.087 MB / 0.5436 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00045/0.3376, allocations: 214.6 kB / 0.5438 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/0.341, allocations: 1.748 MB / 0.5455 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.341, allocations: 12 kB / 0.5455 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.341, allocations: 4 kB / 0.5455 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.341, allocations: 7.969 kB / 0.5455 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007784/0.3488, allocations: 4.133 MB / 0.5495 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.567e-06/0.3488, allocations: 4 kB / 0.5495 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.35, allocations: 254.9 kB / 0.5498 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006557/0.3507, allocations: 223.2 kB / 0.55 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.3508, allocations: 39.98 kB / 0.55 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003976/0.3548, allocations: 3.083 MB / 0.553 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3548, allocations: 3.656 kB / 0.553 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004706/0.3595, allocations: 2.641 MB / 0.5556 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/0.3609, allocations: 362.5 kB / 0.556 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.3612, allocations: 32 kB / 0.556 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.3623, allocations: 55.95 kB / 0.556 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/0.3625, allocations: 105 kB / 0.5561 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.22e-05/0.3626, allocations: 40 kB / 0.5562 GB, free: 12.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002168/0.3648, allocations: 1.258 MB / 0.5574 GB, free: 11.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3648, allocations: 4 kB / 0.5574 GB, free: 11.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002674/0.3675, allocations: 0.6327 MB / 0.558 GB, free: 10.94 MB / 398.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.0004021/0.3679, allocations: 158.9 kB / 0.5582 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003778/0.3717, allocations: 1.988 MB / 0.5601 GB, free: 8.863 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3717, allocations: 0 / 0.5601 GB, free: 8.863 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001525/0.3732, allocations: 0.8854 MB / 0.561 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.3757, allocations: 492 kB / 0.5615 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.3865, allocations: 5.91 MB / 0.5672 GB, free: 1.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002253/0.3888, allocations: 1.885 MB / 0.5691 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001594/0.3904, allocations: 485.9 kB / 0.5695 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.3908, allocations: 144.5 kB / 0.5697 GB, free: 15.03 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3908, allocations: 2.953 kB / 0.5697 GB, free: 15.03 MB / 414.1 MB Notification: Performance of Templates: time 0.05355/0.4443, allocations: 27.44 MB / 0.5965 GB, free: 4.062 MB / 430.1 MB " [Timeout remaining time 660] 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: 5.49737311527133] Failed to read output from testmodel.py, exit status != 0: 0.4517970532178879 0.467639424 0.24800165200000002 Calling exit ...