Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.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.0009973/0.0009973, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.9453/0.9453, allocations: 177.1 MB / 201 MB, free: 5.703 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.001148/0.001148, allocations: 159.3 kB / 257.7 MB, free: 12.98 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.04386/0.04386, allocations: 6.655 MB / 320.9 MB, free: 11.46 MB / 298.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_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 392.9 MB, free: 3.328 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.068e-05, allocations: 2.312 kB / 392.9 MB, free: 3.324 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.01196/0.01198, allocations: 15.69 MB / 408.6 MB, free: 3.562 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008932/0.02091, allocations: 5.458 MB / 414.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.0236, allocations: 111.4 kB / 414.2 MB, free: 13.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002641/0.02624, allocations: 1.227 MB / 415.4 MB, free: 12.74 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004398/0.03064, allocations: 1.634 MB / 417 MB, free: 11.1 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.03259, allocations: 1.009 MB / 418.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004468/0.03705, allocations: 4.976 MB / 423 MB, free: 5.086 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002315/0.03937, allocations: 1.921 MB / 424.9 MB, free: 3.102 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003705/0.04307, allocations: 3.22 MB / 428.2 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.04542, allocations: 2.268 MB / 430.4 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008519/0.04627, allocations: 0.5664 MB / 431 MB, free: 13.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.04738, allocations: 0.7885 MB / 431.8 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006989/0.04808, allocations: 1.348 MB / 433.1 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.04954, allocations: 1.68 MB / 434.8 MB, free: 9.211 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.05376, allocations: 3.933 MB / 438.8 MB, free: 5.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.05376, allocations: 3.938 kB / 438.8 MB, free: 5.262 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.05377, allocations: 4 kB / 438.8 MB, free: 5.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001322/0.0539, allocations: 0 / 438.8 MB, free: 5.258 MB / 410.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.006611/0.06051, allocations: 5.186 MB / 443.9 MB, free: 4 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.1207/0.1812, allocations: 9.828 kB / 444 MB, free: 137.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003804/0.185, allocations: 1.377 MB / 445.3 MB, free: 137.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003743/0.1888, allocations: 2.578 MB / 447.9 MB, free: 136.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.189, allocations: 272.5 kB / 448.2 MB, free: 136.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004973/0.1895, allocations: 372.7 kB / 448.5 MB, free: 136.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/0.1932, allocations: 2.71 MB / 451.2 MB, free: 136.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.131e-05/0.1933, allocations: 4.344 kB / 451.3 MB, free: 136.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/0.1935, allocations: 155.4 kB / 451.4 MB, free: 136.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/0.1936, allocations: 158.7 kB / 451.6 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.1957, allocations: 1.068 MB / 452.6 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.208, allocations: 12.54 MB / 465.2 MB, free: 130.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.21, allocations: 1.87 MB / 467 MB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.2114, allocations: 1.151 MB / 468.2 MB, free: 130 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003333/0.2147, allocations: 2.805 MB / 471 MB, free: 128.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2148, allocations: 52.52 kB / 471 MB, free: 128.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=137): time 2.865e-06/0.2148, allocations: 0 / 471 MB, free: 128.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.005328/0.2201, allocations: 3.53 MB / 474.6 MB, free: 126.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.2201, allocations: 72.72 kB / 474.6 MB, free: 126.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.2214, allocations: 1.744 MB / 476.4 MB, free: 124.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/0.2214, allocations: 53.7 kB / 476.4 MB, free: 124.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006736/0.2221, allocations: 1.908 MB / 478.4 MB, free: 122.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.2224, allocations: 0.5892 MB / 478.9 MB, free: 122.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003745/0.2228, allocations: 449.2 kB / 479.4 MB, free: 121.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.617e-05/0.2228, allocations: 480.7 kB / 479.8 MB, free: 121.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.2231, allocations: 244.2 kB / 480.1 MB, free: 121.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005853/0.2237, allocations: 1.373 MB / 481.5 MB, free: 119.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.2249, allocations: 1.817 MB / 483.3 MB, free: 117.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.2249, allocations: 8 kB / 483.3 MB, free: 117.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002006/0.2269, allocations: 1.855 MB / 485.1 MB, free: 115.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.2269, allocations: 16 kB / 485.2 MB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.2269, allocations: 24 kB / 485.2 MB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004997/0.2274, allocations: 258.8 kB / 485.4 MB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009046/0.2283, allocations: 491.4 kB / 485.9 MB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.2305, allocations: 4.94 MB / 490.9 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.2315, allocations: 96.02 kB / 490.9 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-05/0.2316, allocations: 83.98 kB / 491 MB, free: 109.4 MB / 410.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 (261): * 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: 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.0006573/0.2322, allocations: 304.9 kB / 491.3 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.2325, allocations: 278.5 kB / 491.6 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.2339, allocations: 1.293 MB / 492.9 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.234, allocations: 16 kB / 492.9 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.234, allocations: 4 kB / 492.9 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.234, allocations: 7.969 kB / 492.9 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003697/0.2377, allocations: 3.271 MB / 496.2 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2377, allocations: 0 / 496.2 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/0.2383, allocations: 258.8 kB / 496.4 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005003/0.2388, allocations: 273.1 kB / 496.7 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-05/0.2388, allocations: 39.98 kB / 496.7 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.2416, allocations: 7.131 MB / 0.4921 GB, free: 96.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2416, allocations: 4 kB / 0.4921 GB, free: 96.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.2435, allocations: 1.738 MB / 0.4938 GB, free: 94.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/0.244, allocations: 370.4 kB / 0.4941 GB, free: 94.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.2441, allocations: 40 kB / 0.4942 GB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.2446, allocations: 47.98 kB / 0.4942 GB, free: 94.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.2448, allocations: 121 kB / 0.4943 GB, free: 94.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.2448, allocations: 31.98 kB / 0.4944 GB, free: 94.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006421/0.2455, allocations: 0.9033 MB / 0.4952 GB, free: 93.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2455, allocations: 0 / 0.4952 GB, free: 93.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001626/0.2471, allocations: 0.6562 MB / 0.4959 GB, free: 92.77 MB / 410.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 (130): * Single equations (assignments): 127 * 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.0002255/0.2473, allocations: 173.1 kB / 0.496 GB, free: 92.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.2488, allocations: 1.534 MB / 0.4975 GB, free: 91.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2488, allocations: 0 / 0.4975 GB, free: 91.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007793/0.2496, allocations: 1.132 MB / 0.4986 GB, free: 90 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.2507, allocations: 0.4909 MB / 0.4991 GB, free: 89.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/0.2573, allocations: 5.654 MB / 0.5046 GB, free: 83.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/0.2579, allocations: 0.8776 MB / 0.5055 GB, free: 82.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000925/0.2588, allocations: 310.4 kB / 0.5058 GB, free: 82.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007765/0.2596, allocations: 0.5682 MB / 0.5064 GB, free: 82.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/0.2596, allocations: 0 / 0.5064 GB, free: 82.06 MB / 410.7 MB Notification: Performance of Templates: time 0.03774/0.2973, allocations: 32.49 MB / 0.5381 GB, free: 50.11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8279053028672934]