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.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.0008995/0.0008995, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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 0.8936/0.8936, allocations: 177.2 MB / 200.3 MB, free: 5.672 MB / 186.7 MB " [Timeout remaining time 179] 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.001728/0.001728, allocations: 156.6 kB / 257 MB, free: 12.96 MB / 250.7 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.02444/0.02444, allocations: 6.654 MB / 266.9 MB, free: 3.215 MB / 250.7 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_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 1.793e-06/1.793e-06, allocations: 0 / 285.7 MB, free: 420 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.655e-05, allocations: 2.312 kB / 285.7 MB, free: 416 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.1158/0.1158, allocations: 15.82 MB / 301.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009973/0.1258, allocations: 5.68 MB / 307.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003033/0.1288, allocations: 116.1 kB / 307.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00321/0.132, allocations: 1.26 MB / 308.6 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004423/0.1364, allocations: 1.597 MB / 310.2 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.1385, allocations: 1.04 MB / 311.2 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004593/0.1431, allocations: 4.88 MB / 316.1 MB, free: 164 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002708/0.1458, allocations: 1.967 MB / 318.1 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004333/0.1501, allocations: 3.158 MB / 321.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002918/0.1531, allocations: 2.147 MB / 323.4 MB, free: 8.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008911/0.1539, allocations: 0.5547 MB / 323.9 MB, free: 8.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.1552, allocations: 0.7729 MB / 324.7 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009288/0.1562, allocations: 1.289 MB / 326 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00212/0.1583, allocations: 1.633 MB / 327.6 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004762/0.163, allocations: 3.817 MB / 331.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1631, allocations: 4 kB / 331.5 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1631, allocations: 4 kB / 331.5 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000119/0.1632, allocations: 0 / 331.5 MB, free: 0.6953 MB / 282.7 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.008007/0.1712, allocations: 4.759 MB / 336.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1712, allocations: 8.031 kB / 336.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/0.1741, allocations: 1.3 MB / 337.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.1768, allocations: 1.722 MB / 339.2 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.1769, allocations: 275.8 kB / 339.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/0.1773, allocations: 364.4 kB / 339.9 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.1801, allocations: 2.751 MB / 342.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.256e-05/0.1802, allocations: 19.81 kB / 342.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002045/0.1804, allocations: 149.5 kB / 342.8 MB, free: 5.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.1805, allocations: 151.3 kB / 342.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.1821, allocations: 1.067 MB / 344 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0111/0.1932, allocations: 10.13 MB / 354.1 MB, free: 9.414 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.1952, allocations: 1.673 MB / 355.8 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007647/0.196, allocations: 0.6676 MB / 356.5 MB, free: 7.086 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003374/0.1993, allocations: 2.134 MB / 358.6 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1994, allocations: 47.81 kB / 358.6 MB, free: 4.867 MB / 314.7 MB Notification: Performance of pre-optimization done (n=133): time 3.166e-06/0.1994, allocations: 0 / 358.6 MB, free: 4.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=137): time 0.003899/0.2033, allocations: 2.488 MB / 361.1 MB, free: 2.344 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.2033, allocations: 68.72 kB / 361.2 MB, free: 2.262 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009988/0.2043, allocations: 1.34 MB / 362.5 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/0.2044, allocations: 45.7 kB / 362.6 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006024/0.205, allocations: 1.506 MB / 364.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.2052, allocations: 0.4918 MB / 364.6 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.2055, allocations: 359.2 kB / 364.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.2056, allocations: 301.1 kB / 365.2 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.2059, allocations: 214.7 kB / 365.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/0.2066, allocations: 0.9243 MB / 366.4 MB, free: 12.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009626/0.2076, allocations: 1.337 MB / 367.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.2076, allocations: 8 kB / 367.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.001324/0.2089, allocations: 1.243 MB / 369 MB, free: 9.793 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.2089, allocations: 16 kB / 369 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.209, allocations: 24 kB / 369 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.2091, allocations: 113 kB / 369.1 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008156/0.21, allocations: 443.3 kB / 369.5 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000955/0.2109, allocations: 1.66 MB / 371.2 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.2116, allocations: 75.97 kB / 371.3 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.912e-05/0.2116, allocations: 75.98 kB / 371.3 MB, free: 7.297 MB / 330.7 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.0005613/0.2122, allocations: 247.9 kB / 371.6 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.2124, allocations: 163.8 kB / 371.7 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.2138, allocations: 0.9293 MB / 372.7 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.2138, allocations: 12 kB / 372.7 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.2138, allocations: 7.938 kB / 372.7 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2138, allocations: 7.969 kB / 372.7 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/0.2168, allocations: 2.616 MB / 375.3 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2168, allocations: 0 / 375.3 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.2173, allocations: 199.7 kB / 375.5 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004464/0.2177, allocations: 246.2 kB / 375.8 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.2178, allocations: 31.98 kB / 375.8 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003253/0.221, allocations: 5.244 MB / 381 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.221, allocations: 8.062 kB / 381 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.2224, allocations: 1.289 MB / 382.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.2228, allocations: 210.6 kB / 382.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.2229, allocations: 35.98 kB / 382.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.2233, allocations: 43.98 kB / 382.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.2234, allocations: 97.11 kB / 382.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.2235, allocations: 31.98 kB / 382.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005405/0.224, allocations: 0.6595 MB / 383.4 MB, free: 10.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.224, allocations: 4 kB / 383.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00133/0.2254, allocations: 0.6053 MB / 384 MB, free: 10.2 MB / 346.7 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.000232/0.2256, allocations: 141.2 kB / 384.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.2266, allocations: 0.9874 MB / 385.1 MB, free: 9.059 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.197e-05/0.2267, allocations: 25.81 kB / 385.2 MB, free: 9.031 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007118/0.2274, allocations: 0.8431 MB / 386 MB, free: 8.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.2287, allocations: 491.9 kB / 386.5 MB, free: 7.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.2345, allocations: 5.19 MB / 391.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.235, allocations: 0.6663 MB / 392.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006812/0.2357, allocations: 281.2 kB / 392.6 MB, free: 1.426 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007369/0.2364, allocations: 499.1 kB / 393.1 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2364, allocations: 0 / 393.1 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of Templates: time 0.03928/0.2757, allocations: 28.33 MB / 421.4 MB, free: 5.078 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.289182237815112]