Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.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.0006746/0.0006746, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009719/0.001646, 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.8997/0.8997, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1905/1.09, allocations: 53.64 MB / 241.9 MB, free: 2.73 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.0008083/0.0008083, allocations: 143.7 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009987/0.001807, allocations: 482.5 kB / 243.2 MB, free: 1.422 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.03559/0.03559, allocations: 6.661 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004427/0.04002, allocations: 2.666 MB / 253.3 MB, free: 7.551 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_Synchronization2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 254.6 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.457e-05, allocations: 4.844 kB / 254.6 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization2): time 0.01705/0.01707, allocations: 15.85 MB / 270.4 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008846/0.02592, allocations: 5.721 MB / 276.2 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.02721, allocations: 115.4 kB / 276.3 MB, free: 480 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.02905, allocations: 1.271 MB / 277.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.0316, allocations: 1.618 MB / 279.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.03288, allocations: 1.013 MB / 280.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003358/0.03624, allocations: 5 MB / 285.2 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.03802, allocations: 1.968 MB / 287.1 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.04099, allocations: 3.513 MB / 290.7 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/0.04299, allocations: 2.272 MB / 292.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004503/0.04344, allocations: 0.5664 MB / 293.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009019/0.04434, allocations: 0.7964 MB / 294.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006395/0.04498, allocations: 1.079 MB / 295.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.04632, allocations: 1.4 MB / 296.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.04948, allocations: 3.742 MB / 300.5 MB, free: 8.047 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.04949, allocations: 0 / 300.5 MB, free: 8.047 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.04949, allocations: 0 / 300.5 MB, free: 8.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.192e-05/0.04954, allocations: 4 kB / 300.5 MB, free: 8.043 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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.005633/0.05517, allocations: 5.822 MB / 306.3 MB, free: 2.148 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.0552, allocations: 8.031 kB / 306.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/0.05788, allocations: 1.327 MB / 307.7 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.06021, allocations: 1.768 MB / 309.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.06035, allocations: 271.8 kB / 309.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/0.06067, allocations: 368.3 kB / 310.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.06341, allocations: 2.777 MB / 312.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.266e-05/0.06347, allocations: 3.953 kB / 312.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.06367, allocations: 152 kB / 313 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.06377, allocations: 163.3 kB / 313.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.06527, allocations: 1.068 MB / 314.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.07539, allocations: 9.978 MB / 324.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.0772, allocations: 1.712 MB / 325.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.07842, allocations: 1.096 MB / 327 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002762/0.08118, allocations: 2.23 MB / 329.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.08121, allocations: 51.81 kB / 329.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=136): time 2.254e-06/0.08122, allocations: 0 / 329.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=158): time 0.00558/0.0868, allocations: 3.448 MB / 332.7 MB, free: 7.102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.08683, allocations: 72.7 kB / 332.8 MB, free: 7.016 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009813/0.08781, allocations: 1.475 MB / 334.3 MB, free: 5.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.08787, allocations: 53.7 kB / 334.3 MB, free: 5.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005619/0.08843, allocations: 1.543 MB / 335.9 MB, free: 3.879 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.08868, allocations: 0.5655 MB / 336.4 MB, free: 3.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.08901, allocations: 395.8 kB / 336.8 MB, free: 2.914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.505e-05/0.08908, allocations: 309.1 kB / 337.1 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.08952, allocations: 251.4 kB / 337.4 MB, free: 2.359 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.09011, allocations: 1.002 MB / 338.4 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1417/0.2319, allocations: 1.484 MB / 339.9 MB, free: 51.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/0.2319, allocations: 7.75 kB / 339.9 MB, free: 51.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002422/0.2343, allocations: 1.505 MB / 341.4 MB, free: 51.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.2343, allocations: 15.38 kB / 341.4 MB, free: 51.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/0.2344, allocations: 25.86 kB / 341.4 MB, free: 51.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005806/0.2349, allocations: 243.7 kB / 341.7 MB, free: 51.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.2362, allocations: 0.5741 MB / 342.2 MB, free: 51.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.2384, allocations: 3.536 MB / 345.8 MB, free: 48.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.2395, allocations: 93.25 kB / 345.9 MB, free: 48.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.823e-05/0.2395, allocations: 81.94 kB / 345.9 MB, free: 48.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * 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): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,13,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007/0.2402, allocations: 264.7 kB / 346.2 MB, free: 48.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.2405, allocations: 187.6 kB / 346.4 MB, free: 48.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.2418, allocations: 1.079 MB / 347.5 MB, free: 48.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.2418, allocations: 18.91 kB / 347.5 MB, free: 48.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2418, allocations: 3.188 kB / 347.5 MB, free: 48.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.2418, allocations: 7.594 kB / 347.5 MB, free: 48.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/0.2449, allocations: 2.474 MB / 350 MB, free: 48.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2449, allocations: 1.188 kB / 350 MB, free: 48.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00083/0.2457, allocations: 388.2 kB / 350.3 MB, free: 48.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/0.2461, allocations: 234.4 kB / 350.6 MB, free: 48.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004386/0.2466, allocations: 240.6 kB / 350.8 MB, free: 48.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/0.2466, allocations: 45.33 kB / 350.9 MB, free: 48.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.249, allocations: 5.18 MB / 356 MB, free: 44.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.249, allocations: 0 / 356 MB, free: 44.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.2504, allocations: 1.437 MB / 357.5 MB, free: 43.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.2506, allocations: 35.72 kB / 357.5 MB, free: 43.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/0.2511, allocations: 54.92 kB / 357.6 MB, free: 43.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.2512, allocations: 114.6 kB / 357.7 MB, free: 43.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/0.2513, allocations: 31.12 kB / 357.7 MB, free: 43.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006437/0.2519, allocations: 0.72 MB / 358.4 MB, free: 43.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2519, allocations: 0 / 358.4 MB, free: 43.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001599/0.2535, allocations: 0.6637 MB / 359.1 MB, free: 43.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.stray.Phi.re,smee.stator.stray.Phi.im,constantTorque.phi) * 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 (129): * Single equations (assignments): 126 * 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 {(2,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002371/0.2538, allocations: 150.1 kB / 359.2 MB, free: 43.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.2552, allocations: 1.301 MB / 360.5 MB, free: 43.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.248e-05/0.2553, allocations: 36.88 kB / 360.6 MB, free: 43.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007117/0.256, allocations: 0.9009 MB / 361.5 MB, free: 43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.2571, allocations: 0.665 MB / 362.1 MB, free: 42.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/0.2801, allocations: 5.799 MB / 367.9 MB, free: 40.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/0.2808, allocations: 0.7259 MB / 368.7 MB, free: 40.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00102/0.2818, allocations: 315.8 kB / 369 MB, free: 40.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007443/0.2825, allocations: 0.5007 MB / 369.5 MB, free: 40.08 MB / 330.7 MB Notification: Performance of SimCode: time 2.073e-06/0.2825, allocations: 4 kB / 369.5 MB, free: 40.08 MB / 330.7 MB Notification: Performance of Templates: time 0.03925/0.3218, allocations: 33.43 MB / 402.9 MB, free: 9.227 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3095833007246256]