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.001026/0.001026, allocations: 81.95 kB / 19.87 MB, free: 4.617 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 1.013/1.013, allocations: 177.1 MB / 200.3 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.001228/0.001228, allocations: 168.5 kB / 256.9 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.02307/0.02307, allocations: 6.66 MB / 320.1 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.783e-06/1.783e-06, allocations: 0 / 392.1 MB, free: 2.227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.089e-05, allocations: 2.312 kB / 392.1 MB, free: 2.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization2): time 0.01225/0.01227, allocations: 15.71 MB / 407.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1655/0.1778, allocations: 5.443 MB / 413.3 MB, free: 69.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.1803, allocations: 113.8 kB / 413.4 MB, free: 69.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.1829, allocations: 1.223 MB / 414.6 MB, free: 69.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003909/0.1868, allocations: 1.622 MB / 416.2 MB, free: 69.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.1888, allocations: 1.015 MB / 417.2 MB, free: 69.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005628/0.1944, allocations: 4.978 MB / 422.2 MB, free: 66.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002708/0.1971, allocations: 1.919 MB / 424.1 MB, free: 65.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.2013, allocations: 3.22 MB / 427.4 MB, free: 64.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002947/0.2043, allocations: 2.272 MB / 429.6 MB, free: 63.55 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009881/0.2052, allocations: 0.5686 MB / 430.2 MB, free: 63.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.2064, allocations: 0.7884 MB / 431 MB, free: 63.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006401/0.2071, allocations: 1.346 MB / 432.3 MB, free: 62.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.2088, allocations: 1.679 MB / 434 MB, free: 61.53 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00308/0.2119, allocations: 3.94 MB / 437.9 MB, free: 58.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2119, allocations: 0 / 437.9 MB, free: 58.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2119, allocations: 0 / 437.9 MB, free: 58.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.92e-05/0.212, allocations: 4 kB / 438 MB, free: 58.11 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.005829/0.2178, allocations: 5.184 MB / 443.1 MB, free: 53.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2179, allocations: 16.03 kB / 443.2 MB, free: 53.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/0.2206, allocations: 1.379 MB / 444.5 MB, free: 51.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.223, allocations: 2.58 MB / 447.1 MB, free: 49.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.2231, allocations: 281.3 kB / 447.4 MB, free: 48.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000309/0.2234, allocations: 366.8 kB / 447.7 MB, free: 48.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.226, allocations: 2.712 MB / 450.5 MB, free: 45.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.365e-05/0.2261, allocations: 4 kB / 450.5 MB, free: 45.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/0.2263, allocations: 153.2 kB / 450.6 MB, free: 45.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.58e-05/0.2263, allocations: 155.4 kB / 450.8 MB, free: 45.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.2278, allocations: 1.077 MB / 451.8 MB, free: 44.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009894/0.2377, allocations: 12.54 MB / 464.4 MB, free: 32.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.2395, allocations: 1.875 MB / 466.3 MB, free: 30.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.2407, allocations: 1.16 MB / 467.4 MB, free: 29.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00279/0.2435, allocations: 2.814 MB / 470.2 MB, free: 26.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.2435, allocations: 50.7 kB / 470.3 MB, free: 26.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 2.414e-06/0.2435, allocations: 0 / 470.3 MB, free: 26.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.004617/0.2482, allocations: 3.532 MB / 473.8 MB, free: 22.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.2482, allocations: 68.72 kB / 473.9 MB, free: 22.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.2493, allocations: 1.742 MB / 475.6 MB, free: 21.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.2494, allocations: 53.7 kB / 475.7 MB, free: 21.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006218/0.25, allocations: 1.914 MB / 477.6 MB, free: 19.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.2503, allocations: 0.5874 MB / 478.2 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.2506, allocations: 449.2 kB / 478.6 MB, free: 18.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.2507, allocations: 484.7 kB / 479.1 MB, free: 18.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.251, allocations: 240.2 kB / 479.3 MB, free: 17.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.2515, allocations: 1.37 MB / 480.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.2526, allocations: 1.817 MB / 482.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.2526, allocations: 8 kB / 482.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001774/0.2544, allocations: 1.852 MB / 484.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.2544, allocations: 16 kB / 484.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.2544, allocations: 24.75 kB / 484.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004459/0.2549, allocations: 257.3 kB / 484.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/0.2557, allocations: 495.2 kB / 485.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.2579, allocations: 4.945 MB / 490.1 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006435/0.2585, allocations: 87.92 kB / 490.2 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.2586, allocations: 87.98 kB / 490.3 MB, free: 5.809 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.0006119/0.2592, allocations: 307.8 kB / 490.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.2594, allocations: 286.5 kB / 490.8 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.2609, allocations: 1.283 MB / 492.1 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.2609, allocations: 16 kB / 492.1 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2609, allocations: 8 kB / 492.1 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.2609, allocations: 7.969 kB / 492.2 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.2642, allocations: 3.263 MB / 495.4 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.2642, allocations: 4 kB / 495.4 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.2648, allocations: 267.8 kB / 495.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004681/0.2652, allocations: 264.6 kB / 495.9 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-05/0.2653, allocations: 39.98 kB / 496 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004279/0.2696, allocations: 7.135 MB / 0.4913 GB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2696, allocations: 0 / 0.4913 GB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.2716, allocations: 1.739 MB / 0.493 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004709/0.2721, allocations: 378.4 kB / 0.4934 GB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.2722, allocations: 32 kB / 0.4934 GB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.2727, allocations: 55.97 kB / 0.4935 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.2729, allocations: 117 kB / 0.4936 GB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.273, allocations: 35.98 kB / 0.4936 GB, free: 6.449 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007725/0.2737, allocations: 0.8947 MB / 0.4945 GB, free: 5.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2737, allocations: 4 kB / 0.4945 GB, free: 5.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001824/0.2756, allocations: 0.6562 MB / 0.4951 GB, free: 4.957 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.0002526/0.2758, allocations: 178.1 kB / 0.4953 GB, free: 4.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.2774, allocations: 1.523 MB / 0.4968 GB, free: 3.238 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2774, allocations: 2 kB / 0.4968 GB, free: 3.238 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009106/0.2783, allocations: 1.134 MB / 0.4979 GB, free: 2.062 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.2795, allocations: 0.501 MB / 0.4984 GB, free: 1.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007333/0.2868, allocations: 5.652 MB / 0.5039 GB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/0.2875, allocations: 0.8776 MB / 0.5048 GB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007649/0.2883, allocations: 310.8 kB / 0.5051 GB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008412/0.2891, allocations: 0.5682 MB / 0.5056 GB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 9.01e-07/0.2891, allocations: 0 / 0.5056 GB, free: 10.09 MB / 362.7 MB Notification: Performance of Templates: time 0.0441/0.3332, allocations: 31.94 MB / 0.5368 GB, free: 10.66 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.8008003761060536]