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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 115.5 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 242.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 198.1 kB / 295.1 MB, free: 12.66 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03818/0.03818, allocations: 8.807 MB / 356 MB, free: 15.91 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2999,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2999,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 83.86 kB / 473.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2193, allocations: 51.56 MB / 0.5126 GB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.01741/0.2368, allocations: 15.84 MB / 0.5281 GB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009659/0.2465, allocations: 5.262 MB / 0.5332 GB, free: 8.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.2487, allocations: 91.69 kB / 0.5333 GB, free: 7.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.2518, allocations: 1.211 MB / 0.5345 GB, free: 6.719 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/SynchronousMachines/SMEE_Synchronization1.mo:18:3-19:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.004329/0.2562, allocations: 1.552 MB / 0.536 GB, free: 5.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.2585, allocations: 0.9712 MB / 0.5369 GB, free: 4.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005715/0.2643, allocations: 4.697 MB / 0.5415 GB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004491/0.2688, allocations: 3.528 MB / 0.545 GB, free: 11.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.2716, allocations: 2.103 MB / 0.547 GB, free: 9.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003752/0.2754, allocations: 2.436 MB / 0.5494 GB, free: 7.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.2766, allocations: 0.5742 MB / 0.55 GB, free: 6.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.2788, allocations: 0.7771 MB / 0.5507 GB, free: 5.973 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001492/0.2803, allocations: 1.301 MB / 0.552 GB, free: 4.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00324/0.2835, allocations: 2.435 MB / 0.5544 GB, free: 2.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008845/0.2924, allocations: 7.525 MB / 0.5617 GB, free: 10.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2924, allocations: 0 / 0.5617 GB, free: 10.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2924, allocations: 0 / 0.5617 GB, free: 10.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000135/0.2926, allocations: 0 / 0.5617 GB, free: 10.67 MB / 382.1 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.01217/0.3048, allocations: 5.082 MB / 0.5667 GB, free: 5.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.3048, allocations: 8.031 kB / 0.5667 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004719/0.3095, allocations: 0.9702 MB / 0.5676 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004939/0.3145, allocations: 2.85 MB / 0.5704 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.3147, allocations: 279.8 kB / 0.5707 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005209/0.3152, allocations: 372.1 kB / 0.571 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007708/0.323, allocations: 4.765 MB / 0.5757 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.5e-05/0.3231, allocations: 15.92 kB / 0.5757 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00034/0.3234, allocations: 148 kB / 0.5758 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/0.3236, allocations: 155.3 kB / 0.576 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006646/0.3302, allocations: 4.046 MB / 0.5799 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02194/0.3522, allocations: 15.6 MB / 0.5952 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00679/0.359, allocations: 6.933 MB / 0.602 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002427/0.3614, allocations: 1.507 MB / 0.6034 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006518/0.368, allocations: 4.157 MB / 0.6075 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.368, allocations: 47.88 kB / 0.6075 GB, free: 10.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=137): time 2.875e-06/0.368, allocations: 0 / 0.6075 GB, free: 10.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.01187/0.3799, allocations: 6.42 MB / 0.6138 GB, free: 3.492 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.38, allocations: 68.72 kB / 0.6139 GB, free: 3.414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/0.3831, allocations: 2.183 MB / 0.616 GB, free: 1.199 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.3832, allocations: 53.7 kB / 0.616 GB, free: 1.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.3846, allocations: 1.783 MB / 0.6178 GB, free: 15.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005092/0.3851, allocations: 0.5694 MB / 0.6183 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006076/0.3857, allocations: 416 kB / 0.6187 GB, free: 14.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3858, allocations: 304.9 kB / 0.619 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.3872, allocations: 0.8242 MB / 0.6198 GB, free: 13.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.3891, allocations: 1.59 MB / 0.6214 GB, free: 11.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003441/0.3926, allocations: 2.588 MB / 0.6239 GB, free: 8.348 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.3926, allocations: 8 kB / 0.6239 GB, free: 8.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004972/0.3976, allocations: 3.049 MB / 0.6269 GB, free: 5.254 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.3976, allocations: 12.75 kB / 0.6269 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/0.3977, allocations: 28 kB / 0.6269 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007986/0.3985, allocations: 313.1 kB / 0.6272 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.4002, allocations: 0.4992 MB / 0.6277 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005032/0.4052, allocations: 4.871 MB / 0.6325 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.4068, allocations: 107.9 kB / 0.6326 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.4069, allocations: 96 kB / 0.6327 GB, free: 15.05 MB / 462.1 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 (264): * Single equations (assignments): 261 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001719/0.4087, allocations: 1.129 MB / 0.6338 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/0.409, allocations: 246.5 kB / 0.634 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003947/0.413, allocations: 2.404 MB / 0.6364 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.413, allocations: 16.12 kB / 0.6364 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.413, allocations: 15.94 kB / 0.6364 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.413, allocations: 11.97 kB / 0.6364 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00809/0.4211, allocations: 5.683 MB / 0.642 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.4211, allocations: 8.125 kB / 0.642 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.4223, allocations: 275.6 kB / 0.6422 GB, free: 5.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007809/0.4231, allocations: 306.3 kB / 0.6425 GB, free: 4.762 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.4232, allocations: 39.98 kB / 0.6426 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006882/0.4301, allocations: 7.023 MB / 0.6494 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4301, allocations: 4.031 kB / 0.6494 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005122/0.4352, allocations: 3.493 MB / 0.6528 GB, free: 9.703 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008355/0.4361, allocations: 0.5033 MB / 0.6533 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/0.4364, allocations: 39.98 kB / 0.6534 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.4374, allocations: 63.94 kB / 0.6534 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.4377, allocations: 109.2 kB / 0.6535 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-05/0.4378, allocations: 47.98 kB / 0.6536 GB, free: 8.926 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002162/0.4399, allocations: 1.479 MB / 0.655 GB, free: 7.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.44, allocations: 0 / 0.655 GB, free: 7.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001976/0.4419, allocations: 0.6523 MB / 0.6557 GB, free: 6.777 MB / 478.1 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 (133): * Single equations (assignments): 130 * 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,5,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.0002875/0.4422, allocations: 167 kB / 0.6558 GB, free: 6.605 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003808/0.446, allocations: 2.464 MB / 0.6582 GB, free: 4.098 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4461, allocations: 4.062 kB / 0.6582 GB, free: 4.094 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002038/0.4481, allocations: 1.405 MB / 0.6596 GB, free: 2.648 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.4503, allocations: 0.5682 MB / 0.6601 GB, free: 2.082 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1709/0.6212, allocations: 6.521 MB / 0.6665 GB, free: 131.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/0.623, allocations: 2.455 MB / 0.6689 GB, free: 131 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006288/0.6237, allocations: 175 kB / 0.6691 GB, free: 131 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6237, allocations: 0 / 0.6691 GB, free: 131 MB / 478.1 MB Notification: Performance of Templates: time 0.06525/0.6889, allocations: 100.1 MB / 0.7668 GB, free: 38.2 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.151443190174177] Failed to read output from testmodel.py, exit status != 0: 0.6945768380537629 0.7022061319999999 0.408161678 Calling exit ...