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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 120.3 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 245.5 MB, free: 14.15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 199.5 kB / 300.5 MB, free: 9.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04088/0.04088, allocations: 8.932 MB / 364.3 MB, free: 10.16 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002355/0.002355, allocations: 86.92 kB / 487.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1125, allocations: 54.41 MB / 0.529 GB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01954/0.132, allocations: 16 MB / 0.5446 GB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.1439, allocations: 5.313 MB / 0.5498 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003311/0.1472, allocations: 95.69 kB / 0.5499 GB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003692/0.1509, allocations: 1.258 MB / 0.5511 GB, free: 10.02 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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.00598/0.1569, allocations: 1.587 MB / 0.5527 GB, free: 8.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.1596, allocations: 0.9754 MB / 0.5536 GB, free: 7.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006488/0.166, allocations: 4.6 MB / 0.5581 GB, free: 2.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003408/0.1695, allocations: 2.428 MB / 0.5605 GB, free: 348 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003481/0.1729, allocations: 2.056 MB / 0.5625 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003979/0.1769, allocations: 2.358 MB / 0.5648 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.1779, allocations: 0.5625 MB / 0.5654 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.1798, allocations: 0.7693 MB / 0.5661 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.181, allocations: 1.25 MB / 0.5673 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00335/0.1844, allocations: 2.381 MB / 0.5697 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009066/0.1934, allocations: 7.334 MB / 0.5768 GB, free: 15.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1934, allocations: 4 kB / 0.5768 GB, free: 15.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1934, allocations: 4 kB / 0.5768 GB, free: 15.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001805/0.1936, allocations: 0 / 0.5768 GB, free: 15.57 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.01345/0.2071, allocations: 4.922 MB / 0.5816 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.2071, allocations: 8.031 kB / 0.5816 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/0.212, allocations: 0.9624 MB / 0.5826 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006352/0.2184, allocations: 2.754 MB / 0.5853 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.2186, allocations: 275.8 kB / 0.5855 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006346/0.2192, allocations: 372 kB / 0.5859 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009625/0.2289, allocations: 4.676 MB / 0.5905 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.348e-05/0.2289, allocations: 3.984 kB / 0.5905 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003251/0.2293, allocations: 152 kB / 0.5906 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/0.2294, allocations: 155.3 kB / 0.5908 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007348/0.2368, allocations: 3.905 MB / 0.5946 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02814/0.2649, allocations: 15.35 MB / 0.6096 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008052/0.273, allocations: 5.981 MB / 0.6154 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002854/0.2758, allocations: 1.339 MB / 0.6167 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008857/0.2847, allocations: 4.255 MB / 0.6209 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/0.2847, allocations: 43.56 kB / 0.6209 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of pre-optimization done (n=125): time 3.577e-06/0.2847, allocations: 0 / 0.6209 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of matching and sorting (n=156): time 0.01429/0.299, allocations: 6.149 MB / 0.6269 GB, free: 10.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.2991, allocations: 68.72 kB / 0.627 GB, free: 10.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004062/0.3031, allocations: 2.077 MB / 0.629 GB, free: 8.371 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.3033, allocations: 53.7 kB / 0.6291 GB, free: 8.312 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.3048, allocations: 1.743 MB / 0.6308 GB, free: 6.551 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005918/0.3054, allocations: 0.5655 MB / 0.6313 GB, free: 5.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007069/0.3061, allocations: 400 kB / 0.6317 GB, free: 5.582 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3063, allocations: 309.1 kB / 0.632 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.3077, allocations: 0.7735 MB / 0.6327 GB, free: 4.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.3097, allocations: 1.551 MB / 0.6343 GB, free: 2.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/0.3235, allocations: 4.802 MB / 0.6389 GB, free: 13.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/0.3236, allocations: 8 kB / 0.639 GB, free: 13.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005715/0.3293, allocations: 2.869 MB / 0.6418 GB, free: 10.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.3293, allocations: 16.66 kB / 0.6418 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.583e-05/0.3294, allocations: 24 kB / 0.6418 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009852/0.3304, allocations: 368.2 kB / 0.6421 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.3321, allocations: 479.3 kB / 0.6426 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00566/0.3377, allocations: 4.096 MB / 0.6466 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.3396, allocations: 99.75 kB / 0.6467 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/0.3398, allocations: 104 kB / 0.6468 GB, free: 5.234 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[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.002353/0.3422, allocations: 1.087 MB / 0.6479 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006071/0.3428, allocations: 238.5 kB / 0.6481 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/0.3467, allocations: 1.962 MB / 0.65 GB, free: 1.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/0.3468, allocations: 16 kB / 0.65 GB, free: 1.914 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.3468, allocations: 7.938 kB / 0.65 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.3468, allocations: 7.969 kB / 0.65 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2632/0.61, allocations: 5.429 MB / 0.6553 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.61, allocations: 2.812 kB / 0.6553 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.6111, allocations: 266.5 kB / 0.6556 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008129/0.6119, allocations: 286.3 kB / 0.6559 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.6121, allocations: 35.75 kB / 0.6559 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004372/0.6164, allocations: 3.846 MB / 0.6597 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6164, allocations: 2.75 kB / 0.6597 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004595/0.621, allocations: 2.934 MB / 0.6625 GB, free: 102.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.6222, allocations: 479 kB / 0.663 GB, free: 102.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.6225, allocations: 35.72 kB / 0.663 GB, free: 102.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009534/0.6235, allocations: 66.73 kB / 0.6631 GB, free: 102.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.6237, allocations: 105 kB / 0.6632 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-05/0.6238, allocations: 46.72 kB / 0.6632 GB, free: 102.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001851/0.6257, allocations: 1.393 MB / 0.6646 GB, free: 101.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6257, allocations: 0 / 0.6646 GB, free: 101.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002186/0.6278, allocations: 0.6337 MB / 0.6652 GB, free: 101.7 MB / 462.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.000332/0.6282, allocations: 166.6 kB / 0.6654 GB, free: 101.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003215/0.6314, allocations: 2.19 MB / 0.6675 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6314, allocations: 3.906 kB / 0.6675 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.6329, allocations: 1.018 MB / 0.6685 GB, free: 100.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/0.6353, allocations: 0.5783 MB / 0.6691 GB, free: 99.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009537/0.6449, allocations: 6.172 MB / 0.6751 GB, free: 96.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/0.6464, allocations: 2.373 MB / 0.6774 GB, free: 95.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006134/0.647, allocations: 175.2 kB / 0.6776 GB, free: 95.11 MB / 462.1 MB Notification: Performance of SimCode: time 2.184e-06/0.647, allocations: 4 kB / 0.6776 GB, free: 95.11 MB / 462.1 MB Notification: Performance of Templates: time 0.06932/0.7164, allocations: 69.29 MB / 0.7452 GB, free: 26.52 MB / 462.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: 13.656755482996232] Failed to read output from testmodel.py, exit status != 0: 0.8900243840034818 0.732548787 0.536906119 Calling exit ...