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.001009/0.001009, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.9747/0.9747, allocations: 177.1 MB / 200.5 MB, free: 5.555 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.001324/0.001324, allocations: 167.9 kB / 257 MB, free: 13.07 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.02339/0.02339, allocations: 6.654 MB / 320.1 MB, free: 26.62 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_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.813e-06/1.813e-06, allocations: 3.938 kB / 391.7 MB, free: 2.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.326e-05, allocations: 6.25 kB / 391.7 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.01269/0.01271, allocations: 16.03 MB / 407.7 MB, free: 2.836 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1482/0.1609, allocations: 5.472 MB / 413.2 MB, free: 69.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003014/0.1639, allocations: 115.3 kB / 413.3 MB, free: 69.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002463/0.1664, allocations: 1.218 MB / 414.5 MB, free: 69.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003294/0.1697, allocations: 1.629 MB / 416.2 MB, free: 68.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.1715, allocations: 1.024 MB / 417.2 MB, free: 68.8 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004494/0.176, allocations: 4.974 MB / 422.2 MB, free: 66.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002285/0.1782, allocations: 1.919 MB / 424.1 MB, free: 65.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004105/0.1823, allocations: 3.209 MB / 427.3 MB, free: 64.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003359/0.1857, allocations: 2.257 MB / 429.5 MB, free: 63.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009919/0.1867, allocations: 0.5678 MB / 430.1 MB, free: 63.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.1879, allocations: 0.7903 MB / 430.9 MB, free: 63.31 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006899/0.1886, allocations: 1.35 MB / 432.3 MB, free: 62.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001788/0.1904, allocations: 1.688 MB / 433.9 MB, free: 61.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003445/0.1938, allocations: 3.94 MB / 437.9 MB, free: 58.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1938, allocations: 8 kB / 437.9 MB, free: 58.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1938, allocations: 0 / 437.9 MB, free: 58.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001219/0.1939, allocations: 0 / 437.9 MB, free: 58.35 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.006514/0.2005, allocations: 5.275 MB / 443.2 MB, free: 53.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2005, allocations: 16.03 kB / 443.2 MB, free: 53.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003254/0.2038, allocations: 1.444 MB / 444.6 MB, free: 51.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/0.2065, allocations: 2.707 MB / 447.3 MB, free: 48.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.852e-05/0.2066, allocations: 277.7 kB / 447.6 MB, free: 48.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/0.2069, allocations: 374.9 kB / 448 MB, free: 48.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003376/0.2102, allocations: 2.947 MB / 450.9 MB, free: 45.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-05/0.2103, allocations: 4 kB / 450.9 MB, free: 45.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/0.2105, allocations: 159.9 kB / 451.1 MB, free: 45.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.921e-05/0.2106, allocations: 151.4 kB / 451.2 MB, free: 44.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.213, allocations: 1.4 MB / 452.6 MB, free: 43.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.2237, allocations: 12.59 MB / 465.2 MB, free: 30.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.2259, allocations: 2.022 MB / 467.2 MB, free: 28.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.2274, allocations: 1.251 MB / 468.5 MB, free: 27.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003102/0.2305, allocations: 2.873 MB / 471.4 MB, free: 24.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.2306, allocations: 46.7 kB / 471.4 MB, free: 24.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 2.444e-06/0.2306, allocations: 0 / 471.4 MB, free: 24.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.00582/0.2364, allocations: 4.217 MB / 475.6 MB, free: 20.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.2364, allocations: 68.72 kB / 475.7 MB, free: 20.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.2378, allocations: 1.784 MB / 477.5 MB, free: 18.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.2379, allocations: 57.7 kB / 477.5 MB, free: 18.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006303/0.2385, allocations: 1.898 MB / 479.4 MB, free: 16.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.2388, allocations: 0.5858 MB / 480 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/0.2391, allocations: 434 kB / 480.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.2391, allocations: 480.7 kB / 480.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.2396, allocations: 320.2 kB / 481.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/0.2404, allocations: 1.436 MB / 482.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.2418, allocations: 1.938 MB / 484.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.2418, allocations: 8 kB / 484.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002195/0.244, allocations: 2.023 MB / 486.6 MB, free: 8.387 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.244, allocations: 16 kB / 486.6 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.2441, allocations: 35.91 kB / 486.7 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005363/0.2446, allocations: 255.3 kB / 486.9 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008813/0.2455, allocations: 0.4953 MB / 487.4 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.2479, allocations: 5.059 MB / 492.5 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007303/0.2486, allocations: 91.89 kB / 492.6 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.055e-05/0.2487, allocations: 104 kB / 492.7 MB, free: 2.109 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.0006078/0.2493, allocations: 307.9 kB / 493 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.2495, allocations: 278.5 kB / 493.2 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.2512, allocations: 1.406 MB / 494.7 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2512, allocations: 19.94 kB / 494.7 MB, free: 76 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2512, allocations: 12 kB / 494.7 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.2512, allocations: 7.969 kB / 494.7 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005246/0.2564, allocations: 3.982 MB / 498.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2564, allocations: 0 / 498.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006824/0.2571, allocations: 267.8 kB / 498.9 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006363/0.2578, allocations: 273.2 kB / 499.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-05/0.2578, allocations: 35.98 kB / 499.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00451/0.2623, allocations: 7.301 MB / 0.4947 GB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2624, allocations: 0 / 0.4947 GB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.265, allocations: 1.918 MB / 0.4965 GB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/0.2656, allocations: 390.4 kB / 0.4969 GB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.2658, allocations: 43.92 kB / 0.497 GB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/0.2662, allocations: 55.97 kB / 0.497 GB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.2665, allocations: 125 kB / 0.4971 GB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-05/0.2665, allocations: 39.98 kB / 0.4972 GB, free: 1.176 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001072/0.2676, allocations: 0.9946 MB / 0.4981 GB, free: 164 kB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2676, allocations: 0 / 0.4981 GB, free: 164 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001829/0.2694, allocations: 0.6527 MB / 0.4988 GB, free: 15.5 MB / 362.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.0003014/0.2697, allocations: 173.6 kB / 0.4989 GB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.272, allocations: 1.652 MB / 0.5006 GB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.272, allocations: 3.938 kB / 0.5006 GB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.2731, allocations: 1.186 MB / 0.5017 GB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.2744, allocations: 0.4953 MB / 0.5022 GB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007776/0.2822, allocations: 5.704 MB / 0.5078 GB, free: 6.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007145/0.2829, allocations: 0.8659 MB / 0.5086 GB, free: 5.227 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009252/0.2839, allocations: 442.5 kB / 0.509 GB, free: 4.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.2841, allocations: 148.5 kB / 0.5092 GB, free: 4.648 MB / 362.7 MB Notification: Performance of SimCode: time 1.313e-06/0.2841, allocations: 0 / 0.5092 GB, free: 4.648 MB / 362.7 MB Notification: Performance of Templates: time 0.03733/0.3215, allocations: 29.72 MB / 0.5382 GB, free: 7.395 MB / 394.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.736084292875603]