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.001367/0.001367, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.451/1.451, allocations: 225.6 MB / 246.2 MB, free: 13.59 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.002091/0.002091, allocations: 193.3 kB / 301.4 MB, free: 9.102 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.04166/0.04166, allocations: 8.918 MB / 365.5 MB, free: 9.23 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.002382/0.002382, allocations: 84.27 kB / 489.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1146, allocations: 54.41 MB / 0.5311 GB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.02052/0.1351, allocations: 16.06 MB / 0.5468 GB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.1465, allocations: 5.325 MB / 0.552 GB, free: 9.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/0.1494, allocations: 95.62 kB / 0.5521 GB, free: 8.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00361/0.153, allocations: 1.254 MB / 0.5533 GB, free: 7.66 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.004795/0.1578, allocations: 1.573 MB / 0.5548 GB, free: 6.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.1601, allocations: 1.003 MB / 0.5558 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005769/0.1658, allocations: 4.595 MB / 0.5603 GB, free: 480 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.1687, allocations: 1.983 MB / 0.5622 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.1717, allocations: 2.072 MB / 0.5643 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/0.1752, allocations: 2.35 MB / 0.5666 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008892/0.176, allocations: 0.5625 MB / 0.5671 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.1779, allocations: 0.7693 MB / 0.5679 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001552/0.1795, allocations: 1.246 MB / 0.5691 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00571/0.1852, allocations: 2.377 MB / 0.5714 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01624/0.2014, allocations: 7.335 MB / 0.5786 GB, free: 13.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.2014, allocations: 4 kB / 0.5786 GB, free: 13.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.2014, allocations: 3.938 kB / 0.5786 GB, free: 13.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002246/0.2016, allocations: 7.938 kB / 0.5786 GB, free: 13.63 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.02248/0.2241, allocations: 4.93 MB / 0.5834 GB, free: 8.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.2242, allocations: 8.031 kB / 0.5834 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/0.2353, allocations: 0.9624 MB / 0.5843 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/0.2462, allocations: 2.75 MB / 0.587 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005974/0.2468, allocations: 279.8 kB / 0.5873 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/0.2484, allocations: 368.1 kB / 0.5876 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.2652, allocations: 4.676 MB / 0.5922 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.2653, allocations: 7.938 kB / 0.5922 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006836/0.266, allocations: 152 kB / 0.5924 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003511/0.2664, allocations: 159.3 kB / 0.5925 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.2811, allocations: 3.897 MB / 0.5963 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04841/0.3295, allocations: 15.35 MB / 0.6113 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009796/0.3393, allocations: 5.986 MB / 0.6171 GB, free: 4.715 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002663/0.342, allocations: 1.335 MB / 0.6185 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007657/0.3496, allocations: 4.247 MB / 0.6226 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.3497, allocations: 47.56 kB / 0.6226 GB, free: 14.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=125): time 3.617e-06/0.3497, allocations: 0 / 0.6226 GB, free: 14.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.01408/0.3637, allocations: 6.153 MB / 0.6287 GB, free: 8.633 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.3638, allocations: 68.72 kB / 0.6287 GB, free: 8.551 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003565/0.3674, allocations: 2.069 MB / 0.6307 GB, free: 6.445 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001737/0.3676, allocations: 53.7 kB / 0.6308 GB, free: 6.387 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.369, allocations: 1.747 MB / 0.6325 GB, free: 4.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005783/0.3696, allocations: 0.5616 MB / 0.633 GB, free: 4.055 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006432/0.3702, allocations: 400.1 kB / 0.6334 GB, free: 3.656 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3704, allocations: 309.1 kB / 0.6337 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.3717, allocations: 0.7735 MB / 0.6345 GB, free: 2.574 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.3737, allocations: 1.551 MB / 0.636 GB, free: 0.668 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/0.3875, allocations: 4.794 MB / 0.6407 GB, free: 11.51 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-05/0.3875, allocations: 8 kB / 0.6407 GB, free: 11.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005468/0.393, allocations: 2.873 MB / 0.6435 GB, free: 8.617 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.393, allocations: 16.66 kB / 0.6435 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.064e-05/0.3931, allocations: 28 kB / 0.6435 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009931/0.3941, allocations: 364.5 kB / 0.6439 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.3959, allocations: 487.2 kB / 0.6443 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00573/0.4016, allocations: 4.094 MB / 0.6483 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.4037, allocations: 95.81 kB / 0.6484 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/0.404, allocations: 108 kB / 0.6485 GB, free: 3.309 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.002141/0.4061, allocations: 1.086 MB / 0.6496 GB, free: 2.211 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000487/0.4066, allocations: 242.5 kB / 0.6498 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2145/0.6211, allocations: 1.965 MB / 0.6517 GB, free: 106.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-05/0.6211, allocations: 15.56 kB / 0.6518 GB, free: 106.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.583e-05/0.6212, allocations: 7.625 kB / 0.6518 GB, free: 106.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.522e-05/0.6212, allocations: 5.969 kB / 0.6518 GB, free: 106.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.6317, allocations: 5.42 MB / 0.6571 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.6317, allocations: 6.094 kB / 0.6571 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.6329, allocations: 268.6 kB / 0.6573 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007759/0.6336, allocations: 279.2 kB / 0.6576 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.6337, allocations: 42.3 kB / 0.6576 GB, free: 104.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/0.6378, allocations: 3.84 MB / 0.6614 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6378, allocations: 5.125 kB / 0.6614 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/0.6418, allocations: 2.936 MB / 0.6643 GB, free: 100.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007842/0.6426, allocations: 481.3 kB / 0.6647 GB, free: 99.97 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.6429, allocations: 28.56 kB / 0.6647 GB, free: 99.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009476/0.6438, allocations: 57.89 kB / 0.6648 GB, free: 99.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.644, allocations: 113.7 kB / 0.6649 GB, free: 99.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.507e-05/0.6441, allocations: 43.47 kB / 0.6649 GB, free: 99.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001726/0.6458, allocations: 1.394 MB / 0.6663 GB, free: 99.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6458, allocations: 0 / 0.6663 GB, free: 99.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001869/0.6477, allocations: 0.6404 MB / 0.6669 GB, free: 99.28 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.000258/0.648, allocations: 171.6 kB / 0.6671 GB, free: 99.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.6508, allocations: 2.194 MB / 0.6692 GB, free: 98.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6508, allocations: 3.5 kB / 0.6692 GB, free: 98.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.6522, allocations: 1.016 MB / 0.6702 GB, free: 97.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.6542, allocations: 0.5848 MB / 0.6708 GB, free: 97.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009259/0.6634, allocations: 6.229 MB / 0.6769 GB, free: 94.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.665, allocations: 2.442 MB / 0.6793 GB, free: 93.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001599/0.6666, allocations: 0.4902 MB / 0.6798 GB, free: 93.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.667, allocations: 159 kB / 0.6799 GB, free: 93 MB / 462.1 MB Notification: Performance of SimCode: time 1.183e-06/0.667, allocations: 0 / 0.6799 GB, free: 93 MB / 462.1 MB Notification: Performance of Templates: time 0.04634/0.7133, allocations: 31.24 MB / 0.7104 GB, free: 62.21 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: 6.260164465755224]