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.001369/0.001369, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.279/1.279, allocations: 222.9 MB / 242.7 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 179] 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.001406/0.001406, allocations: 186.5 kB / 295 MB, free: 12.7 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.03827/0.03827, allocations: 8.794 MB / 356 MB, free: 15.95 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.002181/0.002181, allocations: 83.88 kB / 473.4 MB, free: 5.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2048, allocations: 51.57 MB / 0.5126 GB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01713/0.222, allocations: 15.94 MB / 0.5282 GB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009189/0.2312, allocations: 5.294 MB / 0.5334 GB, free: 7.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.2331, allocations: 95.69 kB / 0.5335 GB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.2359, allocations: 1.21 MB / 0.5346 GB, free: 6.457 MB / 350.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.003657/0.2396, allocations: 1.526 MB / 0.5361 GB, free: 4.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.2415, allocations: 0.9887 MB / 0.5371 GB, free: 3.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004934/0.2465, allocations: 4.592 MB / 0.5416 GB, free: 15.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00388/0.2504, allocations: 3.481 MB / 0.545 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.253, allocations: 2.048 MB / 0.547 GB, free: 9.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/0.256, allocations: 2.331 MB / 0.5493 GB, free: 7.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008127/0.2569, allocations: 0.5586 MB / 0.5498 GB, free: 6.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.2583, allocations: 0.7732 MB / 0.5506 GB, free: 6.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.2594, allocations: 1.239 MB / 0.5518 GB, free: 4.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002634/0.262, allocations: 2.373 MB / 0.5541 GB, free: 2.426 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007748/0.2698, allocations: 7.346 MB / 0.5613 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2698, allocations: 0 / 0.5613 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2698, allocations: 4 kB / 0.5613 GB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001104/0.27, allocations: 0 / 0.5613 GB, free: 11.05 MB / 382.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.01097/0.2809, allocations: 4.93 MB / 0.5661 GB, free: 6.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.281, allocations: 8.031 kB / 0.5661 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004726/0.2857, allocations: 0.9546 MB / 0.567 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004934/0.2906, allocations: 2.754 MB / 0.5697 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/0.2909, allocations: 275.8 kB / 0.57 GB, free: 2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000518/0.2914, allocations: 372.1 kB / 0.5703 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007452/0.2989, allocations: 4.684 MB / 0.5749 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.764e-05/0.2989, allocations: 3.938 kB / 0.5749 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003213/0.2993, allocations: 148 kB / 0.5751 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001497/0.2994, allocations: 159.3 kB / 0.5752 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006212/0.3056, allocations: 3.894 MB / 0.579 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02072/0.3264, allocations: 15.35 MB / 0.594 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006236/0.3326, allocations: 6.134 MB / 0.6 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002494/0.3352, allocations: 1.441 MB / 0.6014 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006361/0.3415, allocations: 4.231 MB / 0.6055 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.3416, allocations: 47.56 kB / 0.6056 GB, free: 12.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=125): time 2.555e-06/0.3416, allocations: 0 / 0.6056 GB, free: 12.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=156): time 0.01207/0.3537, allocations: 6.188 MB / 0.6116 GB, free: 5.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.3537, allocations: 64.72 kB / 0.6117 GB, free: 5.703 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.3565, allocations: 2.069 MB / 0.6137 GB, free: 3.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.467e-05/0.3566, allocations: 49.7 kB / 0.6137 GB, free: 3.543 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.3579, allocations: 1.747 MB / 0.6155 GB, free: 1.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.3584, allocations: 0.5539 MB / 0.616 GB, free: 1.219 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005893/0.3589, allocations: 412 kB / 0.6164 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3591, allocations: 305.1 kB / 0.6167 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.3603, allocations: 0.7812 MB / 0.6174 GB, free: 15.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.3621, allocations: 1.544 MB / 0.6189 GB, free: 13.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/0.3748, allocations: 4.798 MB / 0.6236 GB, free: 8.664 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/0.3748, allocations: 12 kB / 0.6236 GB, free: 8.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004684/0.3795, allocations: 2.892 MB / 0.6265 GB, free: 5.746 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.3795, allocations: 16 kB / 0.6265 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/0.3796, allocations: 24 kB / 0.6265 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009031/0.3805, allocations: 360.8 kB / 0.6268 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.3821, allocations: 487.2 kB / 0.6273 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005203/0.3873, allocations: 4.091 MB / 0.6313 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.3887, allocations: 99.81 kB / 0.6314 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.3889, allocations: 104 kB / 0.6315 GB, free: 460 kB / 446.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.001733/0.3906, allocations: 1.09 MB / 0.6326 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.3909, allocations: 234.5 kB / 0.6328 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/0.3943, allocations: 1.974 MB / 0.6347 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.3944, allocations: 20 kB / 0.6347 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.3944, allocations: 7.938 kB / 0.6347 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.3944, allocations: 11.91 kB / 0.6348 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008236/0.4027, allocations: 5.435 MB / 0.6401 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4027, allocations: 0 / 0.6401 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.4038, allocations: 267.7 kB / 0.6403 GB, free: 7.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007608/0.4045, allocations: 284.9 kB / 0.6406 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.4047, allocations: 43.98 kB / 0.6406 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004839/0.4095, allocations: 3.838 MB / 0.6444 GB, free: 2.965 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4095, allocations: 4 kB / 0.6444 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/0.4141, allocations: 2.94 MB / 0.6473 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008396/0.4149, allocations: 475.5 kB / 0.6477 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.4152, allocations: 36 kB / 0.6477 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008754/0.4161, allocations: 59.95 kB / 0.6478 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/0.4163, allocations: 109 kB / 0.6479 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-05/0.4164, allocations: 47.98 kB / 0.648 GB, free: 15.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001987/0.4184, allocations: 1.387 MB / 0.6493 GB, free: 13.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4184, allocations: 4 kB / 0.6493 GB, free: 13.82 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001806/0.4202, allocations: 0.6367 MB / 0.6499 GB, free: 13.19 MB / 478.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.0002958/0.4205, allocations: 166.9 kB / 0.6501 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003504/0.424, allocations: 2.304 MB / 0.6523 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.424, allocations: 0 / 0.6523 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.4258, allocations: 1.083 MB / 0.6534 GB, free: 9.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.428, allocations: 0.5786 MB / 0.654 GB, free: 9.016 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009553/0.4375, allocations: 6.186 MB / 0.66 GB, free: 2.754 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/0.4397, allocations: 2.383 MB / 0.6623 GB, free: 352 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/0.4403, allocations: 167.4 kB / 0.6625 GB, free: 184 kB / 478.1 MB Notification: Performance of SimCode: time 2.154e-06/0.4403, allocations: 0 / 0.6625 GB, free: 184 kB / 478.1 MB Notification: Performance of Templates: time 0.2231/0.6634, allocations: 69 MB / 0.7299 GB, free: 74.76 MB / 478.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: 10.905174948973581] Failed to read output from testmodel.py, exit status != 0: 0.6686608728487045 0.67672794 0.405237506 Calling exit ...