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.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.001784/0.001784, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.448/1.448, allocations: 225.6 MB / 245.5 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] 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.001731/0.001731, allocations: 199.1 kB / 300.5 MB, free: 9.809 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.04006/0.04006, allocations: 8.934 MB / 364.3 MB, free: 10.16 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_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: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 86.05 kB / 487.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1278, allocations: 54.41 MB / 0.529 GB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.02225/0.15, allocations: 16.78 MB / 0.5454 GB, free: 15.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.1635, allocations: 5.473 MB / 0.5507 GB, free: 10.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004167/0.1677, allocations: 99.69 kB / 0.5508 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006426/0.1741, allocations: 1.316 MB / 0.5521 GB, free: 9.062 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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.008716/0.1828, allocations: 1.67 MB / 0.5537 GB, free: 7.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004086/0.1869, allocations: 1.048 MB / 0.5547 GB, free: 6.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009673/0.1966, allocations: 5.012 MB / 0.5596 GB, free: 1.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005229/0.2018, allocations: 2.937 MB / 0.5625 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004462/0.2063, allocations: 2.274 MB / 0.5647 GB, free: 12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005391/0.2117, allocations: 2.693 MB / 0.5673 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002016/0.2137, allocations: 0.6211 MB / 0.568 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.2167, allocations: 0.8396 MB / 0.5688 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.2188, allocations: 1.441 MB / 0.5702 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005311/0.2241, allocations: 2.653 MB / 0.5728 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.2369, allocations: 8.14 MB / 0.5807 GB, free: 11.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.2369, allocations: 4 kB / 0.5807 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2369, allocations: 7.938 kB / 0.5807 GB, free: 11.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002673/0.2371, allocations: 0 / 0.5807 GB, free: 11.55 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.01833/0.2555, allocations: 5.513 MB / 0.5861 GB, free: 5.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.2555, allocations: 12.03 kB / 0.5861 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005806/0.2613, allocations: 1.009 MB / 0.5871 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008238/0.2696, allocations: 3.047 MB / 0.5901 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.2699, allocations: 300.5 kB / 0.5904 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.2713, allocations: 408 kB / 0.5908 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/0.2828, allocations: 5.221 MB / 0.5959 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.121e-05/0.2829, allocations: 3.953 kB / 0.5959 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003859/0.2833, allocations: 160 kB / 0.596 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001897/0.2835, allocations: 176 kB / 0.5962 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009376/0.2929, allocations: 4.474 MB / 0.6006 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.3239, allocations: 16.64 MB / 0.6168 GB, free: 5.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008996/0.3329, allocations: 8.262 MB / 0.6249 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003151/0.3361, allocations: 1.557 MB / 0.6264 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009953/0.346, allocations: 5.001 MB / 0.6313 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/0.3461, allocations: 47.88 kB / 0.6313 GB, free: 5.789 MB / 446.1 MB Notification: Performance of pre-optimization done (n=158): time 3.386e-06/0.3461, allocations: 0 / 0.6313 GB, free: 5.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=161): time 0.01331/0.3594, allocations: 6.21 MB / 0.6374 GB, free: 15.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3595, allocations: 64.72 kB / 0.6374 GB, free: 15.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/0.3635, allocations: 2.29 MB / 0.6397 GB, free: 13.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.3637, allocations: 53.7 kB / 0.6397 GB, free: 12.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.3654, allocations: 1.893 MB / 0.6416 GB, free: 11.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006314/0.366, allocations: 0.5888 MB / 0.6422 GB, free: 10.47 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006474/0.3666, allocations: 395.9 kB / 0.6425 GB, free: 10.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3668, allocations: 305.1 kB / 0.6428 GB, free: 9.773 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.3684, allocations: 0.8514 MB / 0.6437 GB, free: 8.918 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.3706, allocations: 1.555 MB / 0.6452 GB, free: 7.035 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00396/0.3746, allocations: 2.566 MB / 0.6477 GB, free: 4.152 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.3746, allocations: 4 kB / 0.6477 GB, free: 4.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.005556/0.3801, allocations: 2.908 MB / 0.6505 GB, free: 1.207 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.3802, allocations: 12 kB / 0.6505 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/0.3802, allocations: 27.94 kB / 0.6506 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003735/0.3806, allocations: 130.2 kB / 0.6507 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.3826, allocations: 0.5343 MB / 0.6512 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2833/0.6659, allocations: 2.003 MB / 0.6532 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/0.6686, allocations: 113.5 kB / 0.6533 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003071/0.6689, allocations: 99.98 kB / 0.6534 GB, free: 104.8 MB / 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 (270): * Single equations (assignments): 268 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002678/0.6716, allocations: 1.195 MB / 0.6545 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006971/0.6723, allocations: 259.2 kB / 0.6548 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004374/0.6767, allocations: 2.45 MB / 0.6572 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.6767, allocations: 15.81 kB / 0.6572 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.6767, allocations: 6.859 kB / 0.6572 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/0.6767, allocations: 7.781 kB / 0.6572 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009719/0.6865, allocations: 5.79 MB / 0.6629 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.6865, allocations: 2.844 kB / 0.6629 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.6876, allocations: 294.6 kB / 0.6631 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000693/0.6883, allocations: 296.8 kB / 0.6634 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.403e-05/0.6884, allocations: 47.36 kB / 0.6635 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/0.6933, allocations: 6.986 MB / 0.6703 GB, free: 95.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.6934, allocations: 11.69 kB / 0.6703 GB, free: 95.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005048/0.6984, allocations: 3.572 MB / 0.6738 GB, free: 93.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.6996, allocations: 0.5006 MB / 0.6743 GB, free: 93.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.6999, allocations: 35.62 kB / 0.6743 GB, free: 93.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.7009, allocations: 82.55 kB / 0.6744 GB, free: 93.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/0.7012, allocations: 123.2 kB / 0.6745 GB, free: 93.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/0.7013, allocations: 47.3 kB / 0.6746 GB, free: 93.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002063/0.7033, allocations: 1.551 MB / 0.6761 GB, free: 92.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7033, allocations: 0 / 0.6761 GB, free: 92.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002178/0.7055, allocations: 0.67 MB / 0.6767 GB, free: 92.61 MB / 462.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 (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 {(1,5,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.0003326/0.7058, allocations: 161.9 kB / 0.6769 GB, free: 92.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003174/0.709, allocations: 2.2 MB / 0.679 GB, free: 91.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.709, allocations: 3.812 kB / 0.679 GB, free: 91.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.7108, allocations: 1.384 MB / 0.6804 GB, free: 90.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/0.7136, allocations: 0.601 MB / 0.681 GB, free: 90.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.725, allocations: 6.971 MB / 0.6878 GB, free: 83.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/0.7268, allocations: 2.597 MB / 0.6903 GB, free: 81.22 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008096/0.7276, allocations: 187.4 kB / 0.6905 GB, free: 81.04 MB / 462.1 MB Notification: Performance of SimCode: time 1.573e-06/0.7276, allocations: 4 kB / 0.6905 GB, free: 81.04 MB / 462.1 MB Notification: Performance of Templates: time 0.09301/0.8206, allocations: 96.06 MB / 0.7843 GB, free: 1.051 MB / 478.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.637899125998956] Failed to read output from testmodel.py, exit status != 0: 1.0538856579951243 0.844640943 0.604507243 Calling exit ...