Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.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.001642/0.001642, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.444/1.444, allocations: 230.6 MB / 253.4 MB, free: 8.273 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.001678/0.001678, allocations: 214.3 kB / 310 MB, free: 3.113 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.0399/0.0399, allocations: 8.911 MB / 375.3 MB, free: 1.871 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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") [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.002502/0.002502, allocations: 84.3 kB / 0.4904 GB, free: 6.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3379, allocations: 55.6 MB / 0.5447 GB, free: 27.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.015/0.3529, allocations: 17.49 MB / 0.5618 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.3653, allocations: 5.749 MB / 0.5674 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004734/0.37, allocations: 129 kB / 0.5676 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005196/0.3752, allocations: 1.323 MB / 0.5689 GB, free: 9.566 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/SynchronousMachines/SMEE_DOL.mo:12:3-13:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.007628/0.3829, allocations: 1.66 MB / 0.5705 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004205/0.3871, allocations: 1.122 MB / 0.5716 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.3971, allocations: 5.072 MB / 0.5765 GB, free: 5.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0059/0.403, allocations: 2.315 MB / 0.5788 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00526/0.4083, allocations: 2.341 MB / 0.5811 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006354/0.4146, allocations: 2.823 MB / 0.5838 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002613/0.4173, allocations: 0.6196 MB / 0.5844 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004505/0.4218, allocations: 0.8709 MB / 0.5853 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002649/0.4244, allocations: 1.439 MB / 0.5867 GB, free: 24 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00749/0.4319, allocations: 2.66 MB / 0.5893 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01606/0.448, allocations: 8.193 MB / 0.5973 GB, free: 7.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.448, allocations: 0 / 0.5973 GB, free: 7.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.448, allocations: 0 / 0.5973 GB, free: 7.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000347/0.4483, allocations: 0 / 0.5973 GB, free: 7.07 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.02064/0.469, allocations: 5.48 MB / 0.6026 GB, free: 1.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.469, allocations: 8.031 kB / 0.6027 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006349/0.4754, allocations: 1.025 MB / 0.6037 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008211/0.4836, allocations: 3.015 MB / 0.6066 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000378/0.4839, allocations: 304.5 kB / 0.6069 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/0.4854, allocations: 396.1 kB / 0.6073 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/0.4974, allocations: 5.225 MB / 0.6124 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-05/0.4975, allocations: 11.95 kB / 0.6124 GB, free: 7.418 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004072/0.4979, allocations: 160 kB / 0.6125 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.4981, allocations: 172 kB / 0.6127 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.5083, allocations: 4.474 MB / 0.6171 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03754/0.5459, allocations: 16.37 MB / 0.6331 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007151/0.553, allocations: 3.267 MB / 0.6362 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004718/0.5577, allocations: 1.983 MB / 0.6382 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/0.5697, allocations: 4.615 MB / 0.6427 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.5698, allocations: 51.88 kB / 0.6427 GB, free: 8.008 MB / 446.1 MB Notification: Performance of pre-optimization done (n=158): time 5.501e-06/0.5698, allocations: 0 / 0.6427 GB, free: 8.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=161): time 0.0152/0.585, allocations: 5.934 MB / 0.6485 GB, free: 2.043 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.5851, allocations: 72.66 kB / 0.6486 GB, free: 1.957 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005477/0.5905, allocations: 2.327 MB / 0.6509 GB, free: 15.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003348/0.5909, allocations: 49.7 kB / 0.6509 GB, free: 15.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001991/0.5929, allocations: 1.913 MB / 0.6528 GB, free: 13.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008941/0.5938, allocations: 0.5772 MB / 0.6534 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/0.595, allocations: 399.9 kB / 0.6537 GB, free: 12.63 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5951, allocations: 305.1 kB / 0.654 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.597, allocations: 0.8631 MB / 0.6549 GB, free: 11.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/0.5995, allocations: 1.578 MB / 0.6564 GB, free: 9.555 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004462/0.604, allocations: 2.586 MB / 0.6589 GB, free: 6.652 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.649e-05/0.604, allocations: 11.94 kB / 0.6589 GB, free: 6.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.006463/0.6105, allocations: 2.923 MB / 0.6618 GB, free: 3.699 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.6105, allocations: 18.34 kB / 0.6618 GB, free: 3.684 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.671e-05/0.6106, allocations: 24 kB / 0.6618 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/0.6111, allocations: 174.1 kB / 0.662 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.6132, allocations: 0.5421 MB / 0.6625 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/0.6161, allocations: 2.323 MB / 0.6648 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/0.6185, allocations: 107.8 kB / 0.6649 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004257/0.6189, allocations: 104 kB / 0.665 GB, free: 304 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (267): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002934/0.6219, allocations: 1.192 MB / 0.6662 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009179/0.6228, allocations: 266.3 kB / 0.6664 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005651/0.6284, allocations: 2.369 MB / 0.6687 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.6284, allocations: 16 kB / 0.6688 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.429e-05/0.6285, allocations: 8 kB / 0.6688 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.6285, allocations: 11.97 kB / 0.6688 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.6426, allocations: 5.734 MB / 0.6744 GB, free: 6.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.6426, allocations: 3.938 kB / 0.6744 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.644, allocations: 287.8 kB / 0.6746 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.645, allocations: 354.1 kB / 0.675 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/0.6452, allocations: 44.17 kB / 0.675 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0085/0.6537, allocations: 7.063 MB / 0.6819 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6537, allocations: 8 kB / 0.6819 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007384/0.6611, allocations: 3.522 MB / 0.6854 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/0.6629, allocations: 454.1 kB / 0.6858 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008157/0.6637, allocations: 40.31 kB / 0.6858 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/0.6654, allocations: 75.92 kB / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000384/0.6658, allocations: 129.1 kB / 0.686 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/0.6659, allocations: 47.98 kB / 0.6861 GB, free: 10.19 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003666/0.6696, allocations: 1.573 MB / 0.6876 GB, free: 8.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6696, allocations: 0 / 0.6876 GB, free: 8.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00366/0.6733, allocations: 0.6757 MB / 0.6883 GB, free: 7.926 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.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 {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005522/0.6738, allocations: 179 kB / 0.6885 GB, free: 7.738 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004929/0.6787, allocations: 2.179 MB / 0.6906 GB, free: 5.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.6788, allocations: 0 / 0.6906 GB, free: 5.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002905/0.6817, allocations: 1.413 MB / 0.692 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004451/0.6861, allocations: 0.609 MB / 0.6926 GB, free: 3.496 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2738/0.9599, allocations: 7.023 MB / 0.6994 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002928/0.9628, allocations: 2.609 MB / 0.702 GB, free: 115.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009287/0.9638, allocations: 191.3 kB / 0.7021 GB, free: 115.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/0.9638, allocations: 3.281 kB / 0.7021 GB, free: 115.9 MB / 494.1 MB Notification: Performance of Templates: time 0.1082/1.072, allocations: 97.06 MB / 0.7969 GB, free: 42.5 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.876476424979046] Failed to read output from testmodel.py, exit status != 0: 1.0824614930897951 1.092695787 0.641853538 Calling exit ...