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.00147/0.00147, allocations: 73.97 kB / 20.66 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.9507/0.9507, allocations: 177.1 MB / 201 MB, free: 5.688 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.00137/0.00137, allocations: 163.7 kB / 257.7 MB, free: 12.95 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.02279/0.02279, allocations: 6.665 MB / 320.9 MB, free: 26.35 MB / 266.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.332e-06/1.332e-06, allocations: 0 / 392.9 MB, free: 2.242 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.771e-05, allocations: 5.688 kB / 392.9 MB, free: 2.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization2): time 0.01444/0.01447, allocations: 15.71 MB / 408.6 MB, free: 2.453 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1199/0.1344, allocations: 5.439 MB / 414.1 MB, free: 69.57 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.1362, allocations: 115.2 kB / 414.2 MB, free: 69.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.1384, allocations: 1.219 MB / 415.4 MB, free: 69.56 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.1415, allocations: 1.625 MB / 417 MB, free: 69.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1431, allocations: 1.022 MB / 418 MB, free: 69.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004252/0.1474, allocations: 4.967 MB / 423 MB, free: 66.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.1496, allocations: 1.924 MB / 424.9 MB, free: 65.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.1532, allocations: 3.223 MB / 428.1 MB, free: 64.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.1562, allocations: 2.269 MB / 430.4 MB, free: 63.55 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007166/0.1569, allocations: 0.5672 MB / 431 MB, free: 63.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.1581, allocations: 0.7828 MB / 431.8 MB, free: 63.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006423/0.1588, allocations: 1.349 MB / 433.1 MB, free: 62.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.1601, allocations: 1.683 MB / 434.8 MB, free: 61.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002798/0.1629, allocations: 3.942 MB / 438.7 MB, free: 58.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1629, allocations: 0 / 438.7 MB, free: 58.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1629, allocations: 0 / 438.7 MB, free: 58.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.652e-05/0.1629, allocations: 0 / 438.7 MB, free: 58.14 MB / 330.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.004995/0.1679, allocations: 5.186 MB / 443.9 MB, free: 53.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.168, allocations: 8.031 kB / 443.9 MB, free: 53.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.1706, allocations: 1.38 MB / 445.3 MB, free: 51.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.1728, allocations: 2.575 MB / 447.9 MB, free: 49.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.262e-05/0.1729, allocations: 282.2 kB / 448.2 MB, free: 48.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002719/0.1731, allocations: 374.3 kB / 448.5 MB, free: 48.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.1754, allocations: 2.71 MB / 451.2 MB, free: 45.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.305e-05/0.1755, allocations: 9.953 kB / 451.3 MB, free: 45.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000188/0.1757, allocations: 157.6 kB / 451.4 MB, free: 45.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.817e-05/0.1758, allocations: 151.4 kB / 451.6 MB, free: 45.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.1771, allocations: 1.076 MB / 452.6 MB, free: 44.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009073/0.1861, allocations: 12.53 MB / 465.2 MB, free: 32.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.1879, allocations: 1.865 MB / 467 MB, free: 30.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.1892, allocations: 1.173 MB / 468.2 MB, free: 29.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00271/0.1919, allocations: 2.79 MB / 471 MB, free: 26.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1919, allocations: 54.7 kB / 471 MB, free: 26.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 2.314e-06/0.1919, allocations: 0 / 471 MB, free: 26.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.004545/0.1964, allocations: 3.536 MB / 474.6 MB, free: 23.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.1965, allocations: 64.72 kB / 474.6 MB, free: 22.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.1975, allocations: 1.746 MB / 476.4 MB, free: 21.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.241e-05/0.1976, allocations: 49.7 kB / 476.4 MB, free: 21.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006141/0.1982, allocations: 1.914 MB / 478.4 MB, free: 19.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.1985, allocations: 0.5932 MB / 478.9 MB, free: 18.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.1988, allocations: 448.9 kB / 479.4 MB, free: 18.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.493e-05/0.1989, allocations: 480.7 kB / 479.9 MB, free: 18.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.1991, allocations: 241.2 kB / 480.1 MB, free: 17.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.1998, allocations: 1.369 MB / 481.5 MB, free: 16.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.2008, allocations: 1.816 MB / 483.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.2008, allocations: 8 kB / 483.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001701/0.2025, allocations: 1.85 MB / 485.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.2025, allocations: 18.94 kB / 485.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.2025, allocations: 24 kB / 485.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004493/0.203, allocations: 252.5 kB / 485.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008292/0.2038, allocations: 0.4914 MB / 485.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.2059, allocations: 4.945 MB / 490.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006613/0.2065, allocations: 87.92 kB / 490.9 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-05/0.2066, allocations: 87.98 kB / 491 MB, free: 5.871 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 (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.0005383/0.2072, allocations: 311.4 kB / 491.3 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.2074, allocations: 282.5 kB / 491.6 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.2087, allocations: 1.28 MB / 492.9 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2087, allocations: 16 kB / 492.9 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2088, allocations: 4 kB / 492.9 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.2088, allocations: 11.97 kB / 492.9 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.2119, allocations: 3.262 MB / 496.2 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2119, allocations: 4 kB / 496.2 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.2125, allocations: 259.8 kB / 496.4 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/0.2129, allocations: 267.8 kB / 496.7 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.213, allocations: 43.42 kB / 496.7 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00363/0.2166, allocations: 7.13 MB / 0.4921 GB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2166, allocations: 0 / 0.4921 GB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.2185, allocations: 1.74 MB / 0.4938 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.219, allocations: 374.4 kB / 0.4941 GB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.2192, allocations: 36 kB / 0.4942 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/0.2197, allocations: 55.97 kB / 0.4942 GB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.2198, allocations: 117 kB / 0.4943 GB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.2199, allocations: 35.98 kB / 0.4944 GB, free: 6.527 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007161/0.2206, allocations: 0.8984 MB / 0.4952 GB, free: 5.691 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2206, allocations: 4 kB / 0.4952 GB, free: 5.688 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001354/0.2219, allocations: 0.6562 MB / 0.4959 GB, free: 5.031 MB / 346.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.0002252/0.2222, allocations: 173.6 kB / 0.496 GB, free: 4.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.2237, allocations: 1.524 MB / 0.4975 GB, free: 3.316 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2237, allocations: 0 / 0.4975 GB, free: 3.316 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009062/0.2246, allocations: 1.133 MB / 0.4986 GB, free: 2.141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.2257, allocations: 0.4924 MB / 0.4991 GB, free: 1.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/0.2319, allocations: 5.661 MB / 0.5046 GB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/0.2326, allocations: 0.8737 MB / 0.5055 GB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007193/0.2333, allocations: 310.8 kB / 0.5058 GB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007817/0.2341, allocations: 0.5682 MB / 0.5064 GB, free: 10.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.2341, allocations: 0 / 0.5064 GB, free: 10.18 MB / 362.7 MB Notification: Performance of Templates: time 0.04023/0.2743, allocations: 32.49 MB / 0.5381 GB, free: 10.15 MB / 394.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.744604547973722]