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.001405/0.001405, 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.46/1.46, allocations: 230.6 MB / 253.4 MB, free: 14.3 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.001623/0.001623, allocations: 215.7 kB / 310 MB, free: 3.07 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.04116/0.04116, allocations: 8.922 MB / 375.3 MB, free: 6.586 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.002478/0.002478, allocations: 83.88 kB / 0.4904 GB, free: 44.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1132, allocations: 55.61 MB / 0.5447 GB, free: 4.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.02056/0.1337, allocations: 15.11 MB / 0.5594 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2676/0.4013, allocations: 5.436 MB / 0.5647 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00401/0.4053, allocations: 125.8 kB / 0.5649 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004287/0.4096, allocations: 1.265 MB / 0.5661 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006049/0.4156, allocations: 1.629 MB / 0.5677 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.4191, allocations: 1.076 MB / 0.5687 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007709/0.4268, allocations: 5.061 MB / 0.5737 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/0.4311, allocations: 2.215 MB / 0.5758 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004711/0.4358, allocations: 2.348 MB / 0.5781 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00623/0.442, allocations: 2.641 MB / 0.5807 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002216/0.4442, allocations: 0.6175 MB / 0.5813 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/0.4479, allocations: 0.8526 MB / 0.5822 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002338/0.4502, allocations: 1.441 MB / 0.5836 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005306/0.4555, allocations: 2.111 MB / 0.5856 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.4674, allocations: 8.224 MB / 0.5937 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4674, allocations: 0 / 0.5937 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4674, allocations: 1.375 kB / 0.5937 GB, free: 1.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000327/0.4678, allocations: 0 / 0.5937 GB, free: 1.02 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.01995/0.4877, allocations: 5.471 MB / 0.599 GB, free: 13.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.484e-05/0.4878, allocations: 13.36 kB / 0.599 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007389/0.4952, allocations: 1.025 MB / 0.6 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008923/0.5041, allocations: 2.992 MB / 0.6029 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/0.5045, allocations: 306.6 kB / 0.6032 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001759/0.5062, allocations: 399.1 kB / 0.6036 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/0.5199, allocations: 5.385 MB / 0.6089 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.52, allocations: 0 / 0.6089 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005583/0.5206, allocations: 169.5 kB / 0.609 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.5208, allocations: 173 kB / 0.6092 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/0.532, allocations: 4.465 MB / 0.6136 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03381/0.5658, allocations: 14.37 MB / 0.6276 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006569/0.5724, allocations: 3.235 MB / 0.6307 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004363/0.5768, allocations: 2 MB / 0.6327 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.5872, allocations: 4.169 MB / 0.6368 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.698e-05/0.5872, allocations: 51.88 kB / 0.6368 GB, free: 11.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=158): time 7.684e-06/0.5873, allocations: 3.984 kB / 0.6368 GB, free: 11.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=161): time 0.01437/0.6016, allocations: 5.908 MB / 0.6426 GB, free: 5.531 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.6017, allocations: 68.72 kB / 0.6427 GB, free: 5.449 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/0.6053, allocations: 2.11 MB / 0.6447 GB, free: 3.305 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002242/0.6055, allocations: 53.7 kB / 0.6448 GB, free: 3.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00163/0.6072, allocations: 1.918 MB / 0.6466 GB, free: 1.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006197/0.6078, allocations: 0.5826 MB / 0.6472 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006293/0.6084, allocations: 399.9 kB / 0.6476 GB, free: 356 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6086, allocations: 305.1 kB / 0.6479 GB, free: 48 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.6102, allocations: 0.867 MB / 0.6487 GB, free: 15.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.6125, allocations: 1.598 MB / 0.6503 GB, free: 13.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004061/0.6165, allocations: 2.595 MB / 0.6528 GB, free: 10.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-05/0.6166, allocations: 8 kB / 0.6528 GB, free: 10.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.005664/0.6222, allocations: 2.9 MB / 0.6557 GB, free: 7.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.6222, allocations: 15.94 kB / 0.6557 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/0.6223, allocations: 24 kB / 0.6557 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004525/0.6227, allocations: 181.5 kB / 0.6559 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.6248, allocations: 0.5343 MB / 0.6564 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/0.6276, allocations: 2.259 MB / 0.6586 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.63, allocations: 115.9 kB / 0.6587 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003074/0.6303, allocations: 99.98 kB / 0.6588 GB, free: 4.09 MB / 446.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.002707/0.633, allocations: 1.193 MB / 0.66 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006611/0.6336, allocations: 242.5 kB / 0.6602 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004887/0.6385, allocations: 2.359 MB / 0.6625 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/0.6385, allocations: 16 kB / 0.6625 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.6386, allocations: 4 kB / 0.6625 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.6386, allocations: 11.97 kB / 0.6625 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/0.6496, allocations: 4.901 MB / 0.6673 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.6496, allocations: 4 kB / 0.6673 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.6509, allocations: 283.8 kB / 0.6676 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009957/0.6519, allocations: 355.3 kB / 0.6679 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.6521, allocations: 43.97 kB / 0.668 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008237/0.6603, allocations: 6.928 MB / 0.6747 GB, free: 3.398 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.6603, allocations: 8.031 kB / 0.6748 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006907/0.6672, allocations: 3.508 MB / 0.6782 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/0.6689, allocations: 414.3 kB / 0.6786 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004094/0.6693, allocations: 32 kB / 0.6786 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6705, allocations: 87.92 kB / 0.6787 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003378/0.6708, allocations: 125 kB / 0.6788 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.6709, allocations: 47.92 kB / 0.6789 GB, free: 15.14 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002629/0.6735, allocations: 1.4 MB / 0.6802 GB, free: 13.72 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6735, allocations: 0 / 0.6802 GB, free: 13.72 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003335/0.6769, allocations: 0.6718 MB / 0.6809 GB, free: 13.05 MB / 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 (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.000487/0.6774, allocations: 180.4 kB / 0.681 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004408/0.6818, allocations: 2.174 MB / 0.6832 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.6818, allocations: 4 kB / 0.6832 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002578/0.6844, allocations: 1.41 MB / 0.6846 GB, free: 9.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/0.6874, allocations: 0.5112 MB / 0.6851 GB, free: 8.719 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.7023, allocations: 6.974 MB / 0.6919 GB, free: 1.699 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00279/0.7051, allocations: 2.084 MB / 0.6939 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008884/0.706, allocations: 183.4 kB / 0.6941 GB, free: 15.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.793e-06/0.706, allocations: 0 / 0.6941 GB, free: 15.4 MB / 494.1 MB Notification: Performance of Templates: time 0.369/1.075, allocations: 96.71 MB / 0.7885 GB, free: 180.5 MB / 0.545 GB " [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: 13.832797075156122] Failed to read output from testmodel.py, exit status != 0: 1.0838940469548106 1.096085663 0.626014557 Calling exit ...