Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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.001058/0.001058, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001714/0.002772, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.8912/0.8912, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1664/1.058, allocations: 53.64 MB / 241.9 MB, free: 2.734 MB / 234.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.001367/0.001367, allocations: 149.2 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001507/0.002874, allocations: 485.6 kB / 243.2 MB, free: 1.414 MB / 234.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.02836/0.02836, allocations: 6.648 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004286/0.03264, allocations: 2.666 MB / 253.3 MB, free: 7.566 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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 3.938 kB / 254.6 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.332e-05, allocations: 5.125 kB / 254.6 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01166/0.01168, allocations: 15.98 MB / 270.6 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008584/0.02026, allocations: 5.725 MB / 276.3 MB, free: 428 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.02168, allocations: 123.3 kB / 276.5 MB, free: 304 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.02352, allocations: 1.267 MB / 277.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.026, allocations: 1.583 MB / 279.3 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.02727, allocations: 1.025 MB / 280.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003055/0.03032, allocations: 4.877 MB / 285.2 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.03199, allocations: 1.963 MB / 287.2 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/0.03479, allocations: 3.431 MB / 290.6 MB, free: 2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.03659, allocations: 2.143 MB / 292.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005239/0.03711, allocations: 0.5586 MB / 293.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.03814, allocations: 0.7808 MB / 294.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006995/0.03884, allocations: 1.029 MB / 295.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.04, allocations: 1.369 MB / 296.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002976/0.04297, allocations: 3.621 MB / 300.1 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.04299, allocations: 0 / 300.1 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.04299, allocations: 0 / 300.1 MB, free: 8.477 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.807e-05/0.04303, allocations: 0 / 300.1 MB, free: 8.477 MB / 298.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.005439/0.04847, allocations: 5.666 MB / 305.8 MB, free: 2.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.04849, allocations: 12.03 kB / 305.8 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.05108, allocations: 1.292 MB / 307.1 MB, free: 1.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.05334, allocations: 1.711 MB / 308.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.05348, allocations: 283.8 kB / 309.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00032/0.0538, allocations: 368.3 kB / 309.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.05631, allocations: 2.746 MB / 312.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-05/0.05637, allocations: 7.938 kB / 312.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/0.05656, allocations: 155.8 kB / 312.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.311e-05/0.05665, allocations: 159.3 kB / 312.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.05808, allocations: 1.056 MB / 313.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009225/0.06731, allocations: 9.982 MB / 323.5 MB, free: 432 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.0693, allocations: 1.598 MB / 325.1 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006524/0.06995, allocations: 0.604 MB / 325.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002539/0.07249, allocations: 2.058 MB / 327.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.07252, allocations: 47.56 kB / 327.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 2.335e-06/0.07252, allocations: 0 / 327.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=143): time 0.004041/0.07656, allocations: 2.965 MB / 330.8 MB, free: 9.059 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.07659, allocations: 68.72 kB / 330.9 MB, free: 8.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.07785, allocations: 1.43 MB / 332.3 MB, free: 7.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.0779, allocations: 49.7 kB / 332.4 MB, free: 7.449 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/0.07848, allocations: 1.572 MB / 333.9 MB, free: 5.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.07871, allocations: 0.519 MB / 334.4 MB, free: 5.332 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/0.07904, allocations: 411.8 kB / 334.8 MB, free: 4.922 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.0791, allocations: 301.1 kB / 335.1 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.07938, allocations: 243.4 kB / 335.4 MB, free: 4.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/0.07997, allocations: 1.004 MB / 336.4 MB, free: 3.012 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.08157, allocations: 1.786 MB / 338.2 MB, free: 0.875 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.08158, allocations: 8 kB / 338.2 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.1235/0.2051, allocations: 1.369 MB / 339.5 MB, free: 51.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.2051, allocations: 15.44 kB / 339.6 MB, free: 51.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.2052, allocations: 26.59 kB / 339.6 MB, free: 51.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004745/0.2056, allocations: 196.9 kB / 339.8 MB, free: 51.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.2068, allocations: 0.5737 MB / 340.3 MB, free: 51.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.2085, allocations: 2.204 MB / 342.6 MB, free: 49.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.2096, allocations: 87.3 kB / 342.6 MB, free: 49.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.2098, allocations: 81.36 kB / 342.7 MB, free: 49.92 MB / 330.7 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[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (260): * Single equations (assignments): 258 * 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 {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007099/0.2105, allocations: 263 kB / 343 MB, free: 49.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.2107, allocations: 172.4 kB / 343.1 MB, free: 49.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.2119, allocations: 0.8386 MB / 344 MB, free: 49.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.2119, allocations: 17.69 kB / 344 MB, free: 49.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2119, allocations: 3 kB / 344 MB, free: 49.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.2119, allocations: 9.109 kB / 344 MB, free: 49.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.2148, allocations: 2.233 MB / 346.2 MB, free: 49.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2148, allocations: 3.531 kB / 346.2 MB, free: 49.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007385/0.2155, allocations: 379 kB / 346.6 MB, free: 49.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.2158, allocations: 217.5 kB / 346.8 MB, free: 49.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002993/0.2161, allocations: 157.2 kB / 347 MB, free: 49.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.2162, allocations: 35.64 kB / 347 MB, free: 49.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.2174, allocations: 2.131 MB / 349.1 MB, free: 47.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2174, allocations: 0 / 349.1 MB, free: 47.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.2187, allocations: 1.184 MB / 350.3 MB, free: 47.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.2189, allocations: 33.97 kB / 350.4 MB, free: 47.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.2193, allocations: 53.72 kB / 350.4 MB, free: 47.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.2194, allocations: 98.42 kB / 350.5 MB, free: 47.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.2194, allocations: 33.83 kB / 350.5 MB, free: 47.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004683/0.2199, allocations: 0.6792 MB / 351.2 MB, free: 47.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2199, allocations: 0 / 351.2 MB, free: 47.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001159/0.221, allocations: 0.6287 MB / 351.9 MB, free: 47.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.zeroInductor.i0,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 (124): * Single equations (assignments): 123 * 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 {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001894/0.2212, allocations: 151.7 kB / 352 MB, free: 47.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.2222, allocations: 1.14 MB / 353.1 MB, free: 47.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.514e-05/0.2223, allocations: 49.48 kB / 353.2 MB, free: 47.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.2227, allocations: 0.5791 MB / 353.8 MB, free: 47.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.2238, allocations: 0.6609 MB / 354.4 MB, free: 47.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02089/0.2447, allocations: 5.439 MB / 359.9 MB, free: 44.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.2451, allocations: 0.6789 MB / 360.5 MB, free: 44.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007203/0.2459, allocations: 301.6 kB / 360.8 MB, free: 44.63 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007027/0.2466, allocations: 0.4981 MB / 361.3 MB, free: 44.56 MB / 330.7 MB Notification: Performance of SimCode: time 1.303e-06/0.2466, allocations: 0 / 361.3 MB, free: 44.56 MB / 330.7 MB Notification: Performance of Templates: time 0.03271/0.2793, allocations: 31.34 MB / 392.7 MB, free: 18.67 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.323287189938128]