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.001472/0.001472, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.52/1.52, allocations: 230.6 MB / 253.4 MB, free: 14.29 MB / 206.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.001969/0.001969, allocations: 216.8 kB / 310 MB, free: 3.055 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.0432/0.0432, allocations: 8.931 MB / 375.3 MB, free: 6.574 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 87.86 kB / 0.4904 GB, free: 44.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09755/0.1003, allocations: 55.6 MB / 0.5447 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.02133/0.1217, allocations: 14.32 MB / 0.5587 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1345, allocations: 5.275 MB / 0.5638 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003291/0.1378, allocations: 115.4 kB / 0.5639 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2187/0.3565, allocations: 1.202 MB / 0.5651 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005823/0.3623, allocations: 1.579 MB / 0.5667 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.3655, allocations: 1.011 MB / 0.5677 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006545/0.372, allocations: 4.748 MB / 0.5723 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004021/0.376, allocations: 1.904 MB / 0.5741 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00468/0.3807, allocations: 2.183 MB / 0.5763 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00597/0.3867, allocations: 2.435 MB / 0.5787 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0023/0.389, allocations: 0.5688 MB / 0.5792 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003977/0.393, allocations: 0.7918 MB / 0.58 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002419/0.3954, allocations: 1.301 MB / 0.5813 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00581/0.4012, allocations: 1.94 MB / 0.5831 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.4129, allocations: 7.603 MB / 0.5906 GB, free: 3.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4129, allocations: 0 / 0.5906 GB, free: 3.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4129, allocations: 1.562 kB / 0.5906 GB, free: 3.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002504/0.4132, allocations: 0 / 0.5906 GB, free: 3.66 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.01563/0.4288, allocations: 5.037 MB / 0.5955 GB, free: 320 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4289, allocations: 17.19 kB / 0.5955 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00586/0.4347, allocations: 0.9807 MB / 0.5965 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008024/0.4427, allocations: 2.791 MB / 0.5992 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/0.4431, allocations: 274.3 kB / 0.5995 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/0.4445, allocations: 377.7 kB / 0.5998 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.456, allocations: 4.93 MB / 0.6046 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.87e-05/0.4561, allocations: 10.56 kB / 0.6046 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004034/0.4565, allocations: 147.1 kB / 0.6048 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001614/0.4566, allocations: 154.3 kB / 0.6049 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008319/0.4649, allocations: 4.041 MB / 0.6089 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03148/0.4964, allocations: 13.29 MB / 0.6218 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006214/0.5026, allocations: 2.737 MB / 0.6245 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004326/0.507, allocations: 1.806 MB / 0.6263 GB, free: 6.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/0.5175, allocations: 3.664 MB / 0.6299 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.5175, allocations: 47.81 kB / 0.6299 GB, free: 3.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=137): time 4.378e-06/0.5175, allocations: 0 / 0.6299 GB, free: 3.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.0162/0.5337, allocations: 6.225 MB / 0.636 GB, free: 12.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.5338, allocations: 72.66 kB / 0.6361 GB, free: 12.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0047/0.5385, allocations: 2.006 MB / 0.638 GB, free: 10.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003038/0.5388, allocations: 53.7 kB / 0.6381 GB, free: 10.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001752/0.5406, allocations: 1.806 MB / 0.6398 GB, free: 8.859 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008956/0.5415, allocations: 0.5684 MB / 0.6404 GB, free: 8.297 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009543/0.5424, allocations: 416 kB / 0.6408 GB, free: 7.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5426, allocations: 301.1 kB / 0.6411 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.5443, allocations: 0.8399 MB / 0.6419 GB, free: 6.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/0.5468, allocations: 1.632 MB / 0.6435 GB, free: 4.758 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004564/0.5514, allocations: 2.612 MB / 0.646 GB, free: 1.812 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.982e-05/0.5514, allocations: 11.94 kB / 0.646 GB, free: 1.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006668/0.5581, allocations: 3.03 MB / 0.649 GB, free: 14.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.257e-05/0.5582, allocations: 16 kB / 0.649 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.911e-05/0.5582, allocations: 27.94 kB / 0.649 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.5593, allocations: 343.8 kB / 0.6494 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/0.5612, allocations: 0.4992 MB / 0.6499 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006467/0.5677, allocations: 4.949 MB / 0.6547 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.5702, allocations: 103.9 kB / 0.6548 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004431/0.5706, allocations: 104.2 kB / 0.6549 GB, free: 8.527 MB / 446.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.002965/0.5736, allocations: 1.126 MB / 0.656 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000815/0.5744, allocations: 238.5 kB / 0.6562 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005317/0.5797, allocations: 2.303 MB / 0.6585 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.198e-05/0.5797, allocations: 16 kB / 0.6585 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/0.5797, allocations: 8 kB / 0.6585 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.183e-05/0.5798, allocations: 15.91 kB / 0.6585 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.5921, allocations: 4.838 MB / 0.6632 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.5921, allocations: 8.188 kB / 0.6632 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.5934, allocations: 268.2 kB / 0.6635 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.5944, allocations: 365.4 kB / 0.6638 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/0.5946, allocations: 43.98 kB / 0.6639 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008509/0.6031, allocations: 6.934 MB / 0.6707 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6031, allocations: 4 kB / 0.6707 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007536/0.6106, allocations: 3.433 MB / 0.674 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/0.6128, allocations: 414.4 kB / 0.6744 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000939/0.6137, allocations: 28 kB / 0.6744 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/0.6155, allocations: 67.95 kB / 0.6745 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/0.6159, allocations: 121.1 kB / 0.6746 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/0.6161, allocations: 43.98 kB / 0.6747 GB, free: 3.871 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003495/0.6196, allocations: 1.315 MB / 0.6759 GB, free: 2.535 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6196, allocations: 4 kB / 0.6759 GB, free: 2.531 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003947/0.6235, allocations: 0.6561 MB / 0.6766 GB, free: 1.875 MB / 462.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.000574/0.6241, allocations: 174 kB / 0.6768 GB, free: 1.699 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005174/0.6293, allocations: 2.341 MB / 0.679 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.6293, allocations: 4 kB / 0.679 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002744/0.632, allocations: 1.363 MB / 0.6804 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/0.6361, allocations: 491.7 kB / 0.6808 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/0.6536, allocations: 6.525 MB / 0.6872 GB, free: 6.875 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00373/0.6573, allocations: 1.925 MB / 0.6891 GB, free: 4.918 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009095/0.6582, allocations: 171.4 kB / 0.6893 GB, free: 4.75 MB / 478.1 MB Notification: Performance of SimCode: time 1.633e-06/0.6582, allocations: 0 / 0.6893 GB, free: 4.75 MB / 478.1 MB Notification: Performance of Templates: time 0.3761/1.034, allocations: 101 MB / 0.7879 GB, free: 181.4 MB / 0.545 GB " [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: 13.423013411927968] Failed to read output from testmodel.py, exit status != 0: 1.0443449597805738 1.056532891 0.640873341 Calling exit ...