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.001385/0.001385, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.374/1.374, allocations: 177.1 MB / 199.4 MB, free: 8.434 MB / 190.1 MB " [Timeout remaining time 178] 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.001539/0.001539, allocations: 164.2 kB / 256 MB, free: 4.324 MB / 238.1 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.05973/0.05973, allocations: 6.659 MB / 319 MB, free: 5.387 MB / 302.1 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=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 1.693e-06/1.693e-06, allocations: 0 / 445.9 MB, free: 25.15 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.472e-05, allocations: 2.281 kB / 445.9 MB, free: 25.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.01138/0.01141, allocations: 14.34 MB / 460.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007634/0.01904, allocations: 5.283 MB / 465.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.02085, allocations: 115.4 kB / 465.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.02331, allocations: 1.216 MB / 466.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003902/0.02721, allocations: 1.63 MB / 468.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002116/0.02933, allocations: 1.004 MB / 469.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006256/0.03558, allocations: 4.978 MB / 474.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003327/0.03891, allocations: 1.917 MB / 476.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005549/0.04446, allocations: 3.185 MB / 479.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004673/0.04913, allocations: 2.061 MB / 481.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001661/0.05079, allocations: 0.5703 MB / 482.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.0534, allocations: 0.7886 MB / 483 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.05475, allocations: 1.328 MB / 484.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002988/0.05774, allocations: 1.672 MB / 486 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1694/0.2272, allocations: 7.604 MB / 493.6 MB, free: 24.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2272, allocations: 1.375 kB / 493.6 MB, free: 24.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2272, allocations: 0 / 493.6 MB, free: 24.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001618/0.2273, allocations: 0 / 493.6 MB, free: 24.52 MB / 350.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.0139/0.2412, allocations: 4.999 MB / 498.6 MB, free: 22.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2413, allocations: 13.58 kB / 498.7 MB, free: 22.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005979/0.2473, allocations: 0.981 MB / 499.6 MB, free: 22.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007401/0.2547, allocations: 2.788 MB / 0.4906 GB, free: 21.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/0.2549, allocations: 274.4 kB / 0.4909 GB, free: 21.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008324/0.2558, allocations: 369.6 kB / 0.4913 GB, free: 21.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008908/0.2647, allocations: 4.937 MB / 0.4961 GB, free: 19.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.992e-05/0.2648, allocations: 5.812 kB / 0.4961 GB, free: 19.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003698/0.2651, allocations: 157 kB / 0.4962 GB, free: 19.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.2652, allocations: 151.6 kB / 0.4964 GB, free: 19.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006496/0.2717, allocations: 4.045 MB / 0.5003 GB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02082/0.2926, allocations: 13.29 MB / 0.5133 GB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/0.2969, allocations: 2.734 MB / 0.516 GB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/0.3, allocations: 1.82 MB / 0.5178 GB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006485/0.3065, allocations: 3.653 MB / 0.5213 GB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.3065, allocations: 51.53 kB / 0.5214 GB, free: 15.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=137): time 3.246e-06/0.3065, allocations: 0 / 0.5214 GB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.015/0.3215, allocations: 6.214 MB / 0.5274 GB, free: 9.293 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.3216, allocations: 72.72 kB / 0.5275 GB, free: 9.211 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003403/0.325, allocations: 2.006 MB / 0.5295 GB, free: 7.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.3252, allocations: 49.7 kB / 0.5295 GB, free: 7.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001448/0.3266, allocations: 1.802 MB / 0.5313 GB, free: 5.301 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005395/0.3272, allocations: 0.573 MB / 0.5318 GB, free: 4.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006695/0.3278, allocations: 412 kB / 0.5322 GB, free: 4.328 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.328, allocations: 305.1 kB / 0.5325 GB, free: 4.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.3295, allocations: 0.8399 MB / 0.5333 GB, free: 3.184 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/0.3316, allocations: 1.624 MB / 0.5349 GB, free: 1.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003798/0.3354, allocations: 2.613 MB / 0.5375 GB, free: 14.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.3354, allocations: 4 kB / 0.5375 GB, free: 14.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005591/0.341, allocations: 3.035 MB / 0.5404 GB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.341, allocations: 16 kB / 0.5405 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/0.3411, allocations: 24 kB / 0.5405 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009953/0.3421, allocations: 344 kB / 0.5408 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.344, allocations: 0.4949 MB / 0.5413 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/0.35, allocations: 4.958 MB / 0.5461 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.352, allocations: 107.9 kB / 0.5462 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.3522, allocations: 99.98 kB / 0.5463 GB, free: 5.305 MB / 382.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 (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.002217/0.3545, allocations: 1.131 MB / 0.5474 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/0.3549, allocations: 234.5 kB / 0.5477 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004484/0.3594, allocations: 2.299 MB / 0.5499 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.3594, allocations: 16 kB / 0.5499 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3594, allocations: 4 kB / 0.5499 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.3594, allocations: 7.969 kB / 0.5499 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009272/0.3687, allocations: 4.839 MB / 0.5547 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.3687, allocations: 7.984 kB / 0.5547 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.37, allocations: 270.9 kB / 0.5549 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.3711, allocations: 366.3 kB / 0.5553 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.3712, allocations: 35.98 kB / 0.5553 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008108/0.3793, allocations: 6.944 MB / 0.5621 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3793, allocations: 0 / 0.5621 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006307/0.3856, allocations: 3.426 MB / 0.5654 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.3868, allocations: 414.4 kB / 0.5658 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/0.3871, allocations: 35.94 kB / 0.5659 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.3882, allocations: 67.95 kB / 0.5659 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/0.3885, allocations: 127.5 kB / 0.5661 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.3886, allocations: 39.98 kB / 0.5661 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002224/0.3908, allocations: 1.319 MB / 0.5674 GB, free: 15.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3908, allocations: 0 / 0.5674 GB, free: 15.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002369/0.3932, allocations: 0.6523 MB / 0.568 GB, free: 14.84 MB / 414.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 (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.0003617/0.3936, allocations: 172.1 kB / 0.5682 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004181/0.3978, allocations: 2.351 MB / 0.5705 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3978, allocations: 0 / 0.5705 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.4, allocations: 1.363 MB / 0.5718 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/0.4025, allocations: 494 kB / 0.5723 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.4141, allocations: 6.386 MB / 0.5785 GB, free: 4.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002315/0.4164, allocations: 1.986 MB / 0.5805 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001594/0.418, allocations: 498.5 kB / 0.5809 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.4184, allocations: 152.5 kB / 0.5811 GB, free: 1.445 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4184, allocations: 2.844 kB / 0.5811 GB, free: 1.445 MB / 414.1 MB Notification: Performance of Templates: time 0.05471/0.4731, allocations: 29.51 MB / 0.6099 GB, free: 4.418 MB / 446.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.602604661136866] Failed to read output from testmodel.py, exit status != 0: 0.4810119830071926 0.49581915000000004 0.26547447500000004 Calling exit ...