Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 106.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 246.7 MB, free: 13.7 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 194.4 kB / 302 MB, free: 9.191 MB / 238.1 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04377/0.04377, allocations: 8.923 MB / 366 MB, free: 9.348 MB / 302.1 MB [Timeout remaining time 90] 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_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 86.42 kB / 489.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09486, allocations: 54.4 MB / 0.5315 GB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01984/0.1147, allocations: 16 MB / 0.5471 GB, free: 14.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.1259, allocations: 5.305 MB / 0.5523 GB, free: 9.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/0.1285, allocations: 91.69 kB / 0.5524 GB, free: 9.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003427/0.1319, allocations: 1.258 MB / 0.5536 GB, free: 8.059 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.004874/0.1368, allocations: 1.583 MB / 0.5552 GB, free: 6.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.1394, allocations: 0.9939 MB / 0.5561 GB, free: 5.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006687/0.1461, allocations: 4.602 MB / 0.5606 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003663/0.1498, allocations: 2.424 MB / 0.563 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003438/0.1532, allocations: 2.072 MB / 0.565 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/0.1576, allocations: 2.354 MB / 0.5673 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.1588, allocations: 0.5625 MB / 0.5679 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.1607, allocations: 0.7693 MB / 0.5686 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001335/0.1621, allocations: 1.254 MB / 0.5698 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003458/0.1655, allocations: 2.377 MB / 0.5722 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00919/0.1747, allocations: 7.338 MB / 0.5793 GB, free: 13.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1747, allocations: 0 / 0.5793 GB, free: 13.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1747, allocations: 0 / 0.5793 GB, free: 13.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001706/0.1749, allocations: 0 / 0.5793 GB, free: 13.59 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.01348/0.1884, allocations: 4.938 MB / 0.5841 GB, free: 8.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1884, allocations: 15.97 kB / 0.5842 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005409/0.1938, allocations: 0.9585 MB / 0.5851 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006623/0.2005, allocations: 2.75 MB / 0.5878 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.2007, allocations: 279.8 kB / 0.588 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008796/0.2016, allocations: 372.1 kB / 0.5884 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.2123, allocations: 4.684 MB / 0.593 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/0.2125, allocations: 7.953 kB / 0.593 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003742/0.2128, allocations: 152 kB / 0.5931 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/0.213, allocations: 155.3 kB / 0.5933 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007777/0.2208, allocations: 3.901 MB / 0.5971 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.2477, allocations: 15.38 MB / 0.6121 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006643/0.2543, allocations: 5.896 MB / 0.6179 GB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002534/0.2569, allocations: 1.273 MB / 0.6191 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007697/0.2646, allocations: 4.2 MB / 0.6232 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.2646, allocations: 51.88 kB / 0.6233 GB, free: 15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=133): time 3.016e-06/0.2646, allocations: 0 / 0.6233 GB, free: 15 MB / 446.1 MB Notification: Performance of matching and sorting (n=137): time 0.01067/0.2753, allocations: 5.182 MB / 0.6283 GB, free: 9.668 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.2753, allocations: 72.66 kB / 0.6284 GB, free: 9.586 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.2787, allocations: 1.992 MB / 0.6303 GB, free: 7.555 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.2788, allocations: 49.7 kB / 0.6304 GB, free: 7.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001552/0.2803, allocations: 1.704 MB / 0.632 GB, free: 5.777 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004686/0.2808, allocations: 0.4997 MB / 0.6325 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006219/0.2814, allocations: 359.4 kB / 0.6329 GB, free: 4.918 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2816, allocations: 305.1 kB / 0.6332 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.2828, allocations: 0.6637 MB / 0.6338 GB, free: 3.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.2847, allocations: 1.376 MB / 0.6352 GB, free: 2.246 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.2878, allocations: 2.191 MB / 0.6373 GB, free: 15.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.2878, allocations: 8 kB / 0.6373 GB, free: 15.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004522/0.2924, allocations: 2.491 MB / 0.6397 GB, free: 13.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.2924, allocations: 16 kB / 0.6398 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/0.2924, allocations: 20 kB / 0.6398 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004686/0.2929, allocations: 141.6 kB / 0.6399 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.2946, allocations: 467.5 kB / 0.6404 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.297, allocations: 2.123 MB / 0.6424 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.2984, allocations: 83.98 kB / 0.6425 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.2986, allocations: 92 kB / 0.6426 GB, free: 10.13 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (242): * Single equations (assignments): 240 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00202/0.3006, allocations: 1.063 MB / 0.6436 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004154/0.301, allocations: 222.6 kB / 0.6438 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003787/0.3048, allocations: 2.004 MB / 0.6458 GB, free: 6.777 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.3048, allocations: 12 kB / 0.6458 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3048, allocations: 7.938 kB / 0.6458 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.3048, allocations: 7.969 kB / 0.6458 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008418/0.3133, allocations: 4.913 MB / 0.6506 GB, free: 1.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3133, allocations: 0 / 0.6506 GB, free: 1.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009441/0.3142, allocations: 212 kB / 0.6508 GB, free: 1.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009423/0.3152, allocations: 326.1 kB / 0.6511 GB, free: 1.156 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-05/0.3152, allocations: 35.98 kB / 0.6512 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2181/0.5333, allocations: 7.076 MB / 0.6581 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.5333, allocations: 7.375 kB / 0.6581 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004696/0.538, allocations: 2.89 MB / 0.6609 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.539, allocations: 440.4 kB / 0.6613 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.5393, allocations: 35.84 kB / 0.6614 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009543/0.5402, allocations: 63.17 kB / 0.6614 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/0.5405, allocations: 103.2 kB / 0.6615 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.985e-05/0.5406, allocations: 43.2 kB / 0.6616 GB, free: 100.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002032/0.5426, allocations: 1.342 MB / 0.6629 GB, free: 99.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5426, allocations: 0 / 0.6629 GB, free: 99.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002367/0.545, allocations: 0.5999 MB / 0.6635 GB, free: 99.76 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003141/0.5453, allocations: 168.6 kB / 0.6636 GB, free: 99.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002809/0.5481, allocations: 1.813 MB / 0.6654 GB, free: 98.85 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5481, allocations: 1.312 kB / 0.6654 GB, free: 98.85 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.5497, allocations: 1.163 MB / 0.6665 GB, free: 98.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.5521, allocations: 0.5614 MB / 0.6671 GB, free: 98.01 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008884/0.561, allocations: 6.078 MB / 0.673 GB, free: 95.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.5625, allocations: 2.342 MB / 0.6753 GB, free: 93.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/0.563, allocations: 157.4 kB / 0.6755 GB, free: 93.98 MB / 462.1 MB Notification: Performance of SimCode: time 1.353e-06/0.563, allocations: 0 / 0.6755 GB, free: 93.98 MB / 462.1 MB Notification: Performance of Templates: time 0.06928/0.6323, allocations: 85.38 MB / 0.7588 GB, free: 12.13 MB / 462.1 MB [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 480]