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.001298/0.001298, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.383/1.383, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001506/0.001506, allocations: 215.2 kB / 309.2 MB, free: 3.156 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.04023/0.04023, allocations: 8.927 MB / 374.6 MB, free: 6.605 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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_DOL,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_DOL,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [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.002435/0.002435, allocations: 86.08 kB / 0.4892 GB, free: 44.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07999/0.08242, allocations: 55.61 MB / 0.5435 GB, free: 5.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01846/0.1009, allocations: 15.09 MB / 0.5582 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.1119, allocations: 5.446 MB / 0.5635 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/0.1149, allocations: 127.2 kB / 0.5636 GB, free: 300 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.195/0.3098, allocations: 1.259 MB / 0.5649 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.3143, allocations: 1.632 MB / 0.5665 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.3168, allocations: 1.077 MB / 0.5675 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005317/0.3222, allocations: 5.065 MB / 0.5725 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002998/0.3252, allocations: 2.219 MB / 0.5746 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003396/0.3285, allocations: 2.34 MB / 0.5769 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004525/0.3331, allocations: 2.646 MB / 0.5795 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001301/0.3344, allocations: 0.617 MB / 0.5801 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.3368, allocations: 0.8489 MB / 0.5809 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001277/0.3381, allocations: 1.438 MB / 0.5823 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003707/0.3418, allocations: 2.117 MB / 0.5844 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008642/0.3504, allocations: 8.215 MB / 0.5924 GB, free: 1.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.3505, allocations: 5.094 kB / 0.5924 GB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3505, allocations: 0.5 kB / 0.5924 GB, free: 1.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002232/0.3507, allocations: 0.625 kB / 0.5924 GB, free: 1.168 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.01503/0.3657, allocations: 5.473 MB / 0.5978 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3658, allocations: 13.95 kB / 0.5978 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008294/0.3666, allocations: 0.5516 MB / 0.5983 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005565/0.3722, allocations: 1.025 MB / 0.5993 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007809/0.38, allocations: 2.997 MB / 0.6023 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.3802, allocations: 304.5 kB / 0.6025 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008328/0.3811, allocations: 399.1 kB / 0.6029 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009848/0.3909, allocations: 5.386 MB / 0.6082 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.054e-05/0.391, allocations: 0 / 0.6082 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003719/0.3914, allocations: 163.3 kB / 0.6083 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/0.3915, allocations: 172.9 kB / 0.6085 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008003/0.3995, allocations: 4.467 MB / 0.6129 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02936/0.4289, allocations: 14.94 MB / 0.6275 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00637/0.4352, allocations: 3.247 MB / 0.6306 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004406/0.4396, allocations: 1.986 MB / 0.6326 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/0.4497, allocations: 4.218 MB / 0.6367 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.799e-05/0.4498, allocations: 47.88 kB / 0.6367 GB, free: 10.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=158): time 4.439e-06/0.4498, allocations: 0 / 0.6367 GB, free: 10.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=161): time 0.0136/0.4634, allocations: 5.923 MB / 0.6425 GB, free: 4.824 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.4635, allocations: 72.7 kB / 0.6426 GB, free: 4.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004277/0.4678, allocations: 2.35 MB / 0.6449 GB, free: 2.363 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002297/0.468, allocations: 57.7 kB / 0.6449 GB, free: 2.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.4695, allocations: 1.911 MB / 0.6468 GB, free: 388 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005826/0.4701, allocations: 0.5786 MB / 0.6474 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006339/0.4707, allocations: 403.9 kB / 0.6478 GB, free: 15.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4709, allocations: 304.9 kB / 0.648 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.4725, allocations: 0.8592 MB / 0.6489 GB, free: 14.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/0.4747, allocations: 1.602 MB / 0.6505 GB, free: 12.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003941/0.4787, allocations: 2.6 MB / 0.653 GB, free: 9.395 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/0.4787, allocations: 4 kB / 0.653 GB, free: 9.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.005576/0.4843, allocations: 2.916 MB / 0.6558 GB, free: 6.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.4843, allocations: 19.94 kB / 0.6559 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.835e-05/0.4843, allocations: 20 kB / 0.6559 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004574/0.4848, allocations: 180.3 kB / 0.6561 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.4868, allocations: 0.5304 MB / 0.6566 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/0.4894, allocations: 2.299 MB / 0.6588 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.4915, allocations: 115.8 kB / 0.6589 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/0.4917, allocations: 99.98 kB / 0.659 GB, free: 3.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.00241/0.4941, allocations: 1.2 MB / 0.6602 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006186/0.4947, allocations: 262.3 kB / 0.6604 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004918/0.4997, allocations: 2.373 MB / 0.6628 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.4997, allocations: 19.98 kB / 0.6628 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.4997, allocations: 4 kB / 0.6628 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.4997, allocations: 7.969 kB / 0.6628 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.5114, allocations: 5.403 MB / 0.6681 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.5114, allocations: 4 kB / 0.6681 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.5127, allocations: 287.9 kB / 0.6683 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000971/0.5136, allocations: 351.1 kB / 0.6687 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.5138, allocations: 47.97 kB / 0.6687 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008014/0.5218, allocations: 6.997 MB / 0.6756 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5218, allocations: 4 kB / 0.6756 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006561/0.5284, allocations: 3.521 MB / 0.679 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/0.5298, allocations: 452.3 kB / 0.6794 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006788/0.5305, allocations: 39.94 kB / 0.6795 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.532, allocations: 75.92 kB / 0.6795 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/0.5323, allocations: 121.1 kB / 0.6797 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.5325, allocations: 47.98 kB / 0.6797 GB, free: 13.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003069/0.5355, allocations: 1.569 MB / 0.6812 GB, free: 11.85 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5355, allocations: 7.938 kB / 0.6812 GB, free: 11.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002744/0.5383, allocations: 0.6796 MB / 0.6819 GB, free: 11.16 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.00654/0.5448, allocations: 4.152 MB / 0.686 GB, free: 6.961 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004062/0.5489, allocations: 2.163 MB / 0.6881 GB, free: 4.789 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5489, allocations: 0 / 0.6881 GB, free: 4.789 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.5513, allocations: 1.417 MB / 0.6895 GB, free: 3.332 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/0.5541, allocations: 0.6186 MB / 0.6901 GB, free: 2.723 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04037/0.5945, allocations: 24.33 MB / 0.7138 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002726/0.5972, allocations: 2.151 MB / 0.7159 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001916/0.5992, allocations: 0.5554 MB / 0.7165 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/0.6012, allocations: 1.487 MB / 0.7179 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of SimCode: time 8.51e-07/0.6012, allocations: 0 / 0.7179 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3171/0.9183, allocations: 63.64 MB / 0.7801 GB, free: 182.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.47, allocations: 2.844 kB / 0.7801 GB, free: 182.6 MB / 0.545 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.509739792905748] Failed to read output from testmodel.py, exit status != 0: 14.612817804329097 14.626938076 14.273680254 Calling exit ...