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.001264/0.001264, allocations: 99.61 kB / 16.4 MB, free: 6.504 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.506/1.506, allocations: 222.9 MB / 242.1 MB, free: 15.22 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.001826/0.001826, allocations: 195.7 kB / 294.4 MB, free: 12.64 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.03995/0.03995, allocations: 8.798 MB / 355.3 MB, free: 15.89 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.002411/0.002411, allocations: 83.88 kB / 472.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3613, allocations: 51.56 MB / 0.5119 GB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.02328/0.3846, allocations: 16.72 MB / 0.5282 GB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.4003, allocations: 5.449 MB / 0.5336 GB, free: 6.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005348/0.4057, allocations: 99.69 kB / 0.5337 GB, free: 6.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005789/0.4115, allocations: 1.268 MB / 0.5349 GB, free: 5.453 MB / 350.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.008064/0.4197, allocations: 1.627 MB / 0.5365 GB, free: 3.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003979/0.4237, allocations: 1.033 MB / 0.5375 GB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00958/0.4332, allocations: 4.999 MB / 0.5424 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006668/0.44, allocations: 4.311 MB / 0.5466 GB, free: 9.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004625/0.4446, allocations: 2.262 MB / 0.5488 GB, free: 7.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005578/0.4503, allocations: 2.658 MB / 0.5514 GB, free: 4.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00221/0.4525, allocations: 0.6211 MB / 0.552 GB, free: 3.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/0.456, allocations: 0.8474 MB / 0.5528 GB, free: 2.965 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002547/0.4586, allocations: 1.43 MB / 0.5542 GB, free: 1.531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00637/0.465, allocations: 2.653 MB / 0.5568 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01629/0.4813, allocations: 8.148 MB / 0.5648 GB, free: 6.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.4814, allocations: 0 / 0.5648 GB, free: 6.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4814, allocations: 4 kB / 0.5648 GB, free: 6.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003324/0.4817, allocations: 0 / 0.5648 GB, free: 6.688 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: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.02158/0.5033, allocations: 5.517 MB / 0.5702 GB, free: 1.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.79e-05/0.5034, allocations: 12.03 kB / 0.5702 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007048/0.5105, allocations: 1.013 MB / 0.5712 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009795/0.5203, allocations: 3.04 MB / 0.5741 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/0.5208, allocations: 308.5 kB / 0.5744 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/0.5227, allocations: 408 kB / 0.5748 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/0.5387, allocations: 5.213 MB / 0.5799 GB, free: 6.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002359/0.539, allocations: 11.94 kB / 0.5799 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001557/0.5406, allocations: 164 kB / 0.5801 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002289/0.5409, allocations: 172 kB / 0.5802 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/0.5538, allocations: 4.466 MB / 0.5846 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04078/0.5946, allocations: 16.64 MB / 0.6008 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.6056, allocations: 8.426 MB / 0.6091 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00398/0.6096, allocations: 1.706 MB / 0.6107 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.6211, allocations: 4.985 MB / 0.6156 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/0.6212, allocations: 51.88 kB / 0.6157 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=158): time 3.938e-06/0.6212, allocations: 0 / 0.6157 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of matching and sorting (n=161): time 0.01458/0.6358, allocations: 6.217 MB / 0.6217 GB, free: 10.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.6359, allocations: 68.72 kB / 0.6218 GB, free: 10.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00531/0.6412, allocations: 2.282 MB / 0.624 GB, free: 7.859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003151/0.6415, allocations: 57.7 kB / 0.6241 GB, free: 7.797 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00201/0.6436, allocations: 1.893 MB / 0.6259 GB, free: 5.883 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008179/0.6444, allocations: 0.5772 MB / 0.6265 GB, free: 5.301 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009405/0.6453, allocations: 403.9 kB / 0.6269 GB, free: 4.898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6455, allocations: 305.1 kB / 0.6272 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.6473, allocations: 0.8475 MB / 0.628 GB, free: 3.746 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.6497, allocations: 1.559 MB / 0.6295 GB, free: 1.859 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004405/0.6541, allocations: 2.566 MB / 0.632 GB, free: 14.97 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.542e-05/0.6541, allocations: 12 kB / 0.632 GB, free: 14.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.006125/0.6603, allocations: 2.901 MB / 0.6349 GB, free: 12.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.6603, allocations: 18.5 kB / 0.6349 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.091e-05/0.6604, allocations: 27.94 kB / 0.6349 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000417/0.6608, allocations: 125.7 kB / 0.635 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.663, allocations: 0.5345 MB / 0.6356 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.6652, allocations: 2.029 MB / 0.6375 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.6674, allocations: 112 kB / 0.6376 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.6676, allocations: 99.98 kB / 0.6377 GB, free: 8.941 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.002486/0.6701, allocations: 1.196 MB / 0.6389 GB, free: 7.734 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007317/0.6708, allocations: 258.4 kB / 0.6392 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005597/0.6765, allocations: 2.46 MB / 0.6416 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.6765, allocations: 16 kB / 0.6416 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.672e-05/0.6765, allocations: 4 kB / 0.6416 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/0.6766, allocations: 7.969 kB / 0.6416 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.6903, allocations: 5.806 MB / 0.6473 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.6904, allocations: 0 / 0.6473 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.6917, allocations: 287.8 kB / 0.6475 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009422/0.6927, allocations: 306.2 kB / 0.6478 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.6929, allocations: 39.98 kB / 0.6479 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008084/0.7009, allocations: 6.98 MB / 0.6547 GB, free: 6.973 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.701, allocations: 4.031 kB / 0.6547 GB, free: 6.969 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006967/0.708, allocations: 3.586 MB / 0.6582 GB, free: 3.297 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.7093, allocations: 0.5034 MB / 0.6587 GB, free: 2.773 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006628/0.71, allocations: 39.94 kB / 0.6587 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.7114, allocations: 83.86 kB / 0.6588 GB, free: 2.652 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/0.7118, allocations: 121.2 kB / 0.6589 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.7119, allocations: 51.98 kB / 0.659 GB, free: 2.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00331/0.7152, allocations: 1.549 MB / 0.6605 GB, free: 0.918 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7152, allocations: 0 / 0.6605 GB, free: 0.918 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002978/0.7182, allocations: 0.6718 MB / 0.6611 GB, free: 252 kB / 478.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.0004235/0.7187, allocations: 174.6 kB / 0.6613 GB, free: 72 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2479/0.9666, allocations: 2.284 MB / 0.6635 GB, free: 134.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.9666, allocations: 2.719 kB / 0.6635 GB, free: 134.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002753/0.9694, allocations: 1.451 MB / 0.6649 GB, free: 133.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004282/0.9737, allocations: 0.5956 MB / 0.6655 GB, free: 133.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.9877, allocations: 6.996 MB / 0.6724 GB, free: 130.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004577/0.9923, allocations: 2.672 MB / 0.675 GB, free: 129.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00235/0.9947, allocations: 0.558 MB / 0.6755 GB, free: 129.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007552/0.9955, allocations: 162.1 kB / 0.6757 GB, free: 129.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.353e-06/0.9955, allocations: 3.828 kB / 0.6757 GB, free: 129.1 MB / 478.1 MB Notification: Performance of Templates: time 0.05639/1.052, allocations: 31 MB / 0.7059 GB, free: 100.2 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: 6.645036501809955]