Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.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.0008109/0.0008109, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001897, 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.9422/0.9422, allocations: 177.2 MB / 188.2 MB, free: 4.488 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1865/1.129, allocations: 53.64 MB / 241.9 MB, free: 2.742 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.0008569/0.0008569, allocations: 145.1 kB / 242.8 MB, free: 1.879 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002216, allocations: 480.6 kB / 243.2 MB, free: 1.426 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.03193/0.03193, allocations: 6.651 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005705/0.03764, allocations: 2.662 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_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 254.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.927e-05, allocations: 4.422 kB / 254.6 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.01753/0.01756, allocations: 15.85 MB / 270.4 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.02912, allocations: 5.717 MB / 276.1 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/0.03256, allocations: 111.4 kB / 276.2 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003598/0.03616, allocations: 1.268 MB / 277.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004918/0.04108, allocations: 1.614 MB / 279.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.04294, allocations: 1.021 MB / 280.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004801/0.04774, allocations: 4.995 MB / 285.1 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.04994, allocations: 1.96 MB / 287.1 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005067/0.05501, allocations: 3.529 MB / 290.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003568/0.05858, allocations: 2.256 MB / 292.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001176/0.05975, allocations: 0.5664 MB / 293.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.06177, allocations: 0.8081 MB / 294.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.06294, allocations: 1.079 MB / 295.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00258/0.06552, allocations: 1.4 MB / 296.7 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005474/0.07099, allocations: 3.738 MB / 300.5 MB, free: 8.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-05/0.07101, allocations: 0 / 300.5 MB, free: 8.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.07101, allocations: 0 / 300.5 MB, free: 8.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001573/0.07117, allocations: 4 kB / 300.5 MB, free: 8.094 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.008017/0.07919, allocations: 5.818 MB / 306.3 MB, free: 2.203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.07922, allocations: 8.031 kB / 306.3 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.08224, allocations: 1.331 MB / 307.6 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.08533, allocations: 1.764 MB / 309.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.08547, allocations: 283.8 kB / 309.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/0.08581, allocations: 368.3 kB / 310 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/0.08903, allocations: 2.766 MB / 312.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.736e-05/0.08908, allocations: 11.92 kB / 312.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.08929, allocations: 152 kB / 313 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.08939, allocations: 159.3 kB / 313.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.09104, allocations: 1.068 MB / 314.2 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.1039, allocations: 9.966 MB / 324.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.1059, allocations: 1.728 MB / 325.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.1073, allocations: 1.092 MB / 327 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003738/0.111, allocations: 2.234 MB / 329.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.111, allocations: 43.88 kB / 329.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=136): time 3.377e-06/0.111, allocations: 0 / 329.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=158): time 0.006124/0.1172, allocations: 3.452 MB / 332.7 MB, free: 7.148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.1172, allocations: 68.72 kB / 332.8 MB, free: 7.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.1185, allocations: 1.478 MB / 334.3 MB, free: 5.547 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.1186, allocations: 53.7 kB / 334.3 MB, free: 5.488 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.1197, allocations: 1.55 MB / 335.9 MB, free: 3.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.12, allocations: 0.5616 MB / 336.4 MB, free: 3.352 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.1204, allocations: 403.8 kB / 336.8 MB, free: 2.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.1204, allocations: 305.1 kB / 337.1 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.1208, allocations: 243.5 kB / 337.3 MB, free: 2.406 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006591/0.1214, allocations: 1.002 MB / 338.3 MB, free: 1.043 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.153/0.2745, allocations: 1.488 MB / 339.8 MB, free: 51.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/0.2745, allocations: 8.375 kB / 339.8 MB, free: 51.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002502/0.277, allocations: 1.504 MB / 341.3 MB, free: 51.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.277, allocations: 15.22 kB / 341.4 MB, free: 51.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.277, allocations: 24.75 kB / 341.4 MB, free: 51.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000544/0.2776, allocations: 236.1 kB / 341.6 MB, free: 51.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.2788, allocations: 0.5756 MB / 342.2 MB, free: 51.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.2808, allocations: 3.536 MB / 345.7 MB, free: 48.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009057/0.2817, allocations: 94.41 kB / 345.8 MB, free: 48.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.2818, allocations: 82.58 kB / 345.9 MB, free: 48.73 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.0007372/0.2825, allocations: 268.2 kB / 346.2 MB, free: 48.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.2828, allocations: 180.4 kB / 346.3 MB, free: 48.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.2841, allocations: 1.082 MB / 347.4 MB, free: 48.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.2841, allocations: 16.31 kB / 347.4 MB, free: 48.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2841, allocations: 7.031 kB / 347.4 MB, free: 48.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.2841, allocations: 8.234 kB / 347.5 MB, free: 48.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.2871, allocations: 2.473 MB / 349.9 MB, free: 48.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2871, allocations: 1.688 kB / 349.9 MB, free: 48.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.2879, allocations: 388.5 kB / 350.3 MB, free: 48.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/0.2882, allocations: 236.8 kB / 350.5 MB, free: 48.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004129/0.2887, allocations: 242.3 kB / 350.8 MB, free: 48.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.2887, allocations: 41.23 kB / 350.8 MB, free: 48.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.2909, allocations: 5.185 MB / 356 MB, free: 44.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2909, allocations: 3.609 kB / 356 MB, free: 44.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.2923, allocations: 1.434 MB / 357.4 MB, free: 43.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.2924, allocations: 31.31 kB / 357.5 MB, free: 43.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.2928, allocations: 58.22 kB / 357.5 MB, free: 43.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.293, allocations: 115.1 kB / 357.6 MB, free: 43.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.293, allocations: 30.25 kB / 357.7 MB, free: 43.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005163/0.2936, allocations: 0.7203 MB / 358.4 MB, free: 43.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2936, allocations: 0 / 358.4 MB, free: 43.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001287/0.2948, allocations: 0.6553 MB / 359 MB, free: 43.72 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.0001951/0.295, allocations: 146.7 kB / 359.2 MB, free: 43.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.2962, allocations: 1.306 MB / 360.5 MB, free: 43.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.461e-05/0.2962, allocations: 38.56 kB / 360.5 MB, free: 43.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006358/0.2969, allocations: 0.9049 MB / 361.4 MB, free: 42.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.2979, allocations: 0.6624 MB / 362.1 MB, free: 42.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/0.3193, allocations: 5.801 MB / 367.9 MB, free: 40.58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.3199, allocations: 0.7289 MB / 368.6 MB, free: 40.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008936/0.3208, allocations: 304 kB / 368.9 MB, free: 40.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000721/0.3215, allocations: 0.5143 MB / 369.4 MB, free: 40.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.3215, allocations: 0 / 369.4 MB, free: 40.14 MB / 330.7 MB Notification: Performance of Templates: time 0.03784/0.3593, allocations: 33.43 MB / 402.9 MB, free: 9.312 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3689684607088566]