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.001459/0.001459, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.593/1.593, allocations: 230.6 MB / 252.6 MB, free: 8.32 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.001852/0.001852, allocations: 217.4 kB / 309.2 MB, free: 3.133 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.04536/0.04536, allocations: 8.904 MB / 374.6 MB, free: 1.895 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.002765/0.002765, allocations: 87.86 kB / 0.4892 GB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3413, allocations: 55.6 MB / 0.5435 GB, free: 26.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01461/0.356, allocations: 17.48 MB / 0.5606 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009829/0.3658, allocations: 5.773 MB / 0.5662 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003343/0.3691, allocations: 124.2 kB / 0.5664 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003978/0.3731, allocations: 1.327 MB / 0.5676 GB, free: 9.477 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.006031/0.3791, allocations: 1.65 MB / 0.5693 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.3824, allocations: 1.129 MB / 0.5704 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007891/0.3903, allocations: 5.068 MB / 0.5753 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004226/0.3946, allocations: 2.308 MB / 0.5776 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006586/0.4011, allocations: 2.34 MB / 0.5798 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009241/0.4104, allocations: 2.82 MB / 0.5826 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00388/0.4143, allocations: 0.6205 MB / 0.5832 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005882/0.4202, allocations: 0.866 MB / 0.5841 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004041/0.4242, allocations: 1.451 MB / 0.5855 GB, free: 20 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01015/0.4343, allocations: 2.654 MB / 0.5881 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01841/0.4527, allocations: 8.196 MB / 0.5961 GB, free: 7.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4528, allocations: 0 / 0.5961 GB, free: 7.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.319e-06/0.4528, allocations: 4 kB / 0.5961 GB, free: 7.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003414/0.4531, allocations: 0 / 0.5961 GB, free: 7.281 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.0218/0.4749, allocations: 5.47 MB / 0.6014 GB, free: 1.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.475, allocations: 12.03 kB / 0.6014 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002381/0.4773, allocations: 0.5558 MB / 0.602 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007374/0.4847, allocations: 1.025 MB / 0.603 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008943/0.4937, allocations: 3.015 MB / 0.6059 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000404/0.4941, allocations: 300.5 kB / 0.6062 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/0.4957, allocations: 403.9 kB / 0.6066 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01556/0.5112, allocations: 5.229 MB / 0.6117 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001911/0.5114, allocations: 3.953 kB / 0.6117 GB, free: 7.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/0.5128, allocations: 164 kB / 0.6118 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002779/0.5131, allocations: 176 kB / 0.612 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.5254, allocations: 4.47 MB / 0.6164 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03617/0.5615, allocations: 16.36 MB / 0.6324 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006725/0.5682, allocations: 3.26 MB / 0.6355 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004367/0.5726, allocations: 1.99 MB / 0.6375 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/0.5836, allocations: 4.619 MB / 0.642 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.8e-05/0.5837, allocations: 55.88 kB / 0.6421 GB, free: 7.656 MB / 446.1 MB Notification: Performance of pre-optimization done (n=158): time 3.637e-06/0.5837, allocations: 0 / 0.6421 GB, free: 7.656 MB / 446.1 MB Notification: Performance of matching and sorting (n=161): time 0.01535/0.599, allocations: 5.942 MB / 0.6479 GB, free: 1.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.5991, allocations: 68.72 kB / 0.6479 GB, free: 1.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006874/0.606, allocations: 2.315 MB / 0.6502 GB, free: 15.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.6062, allocations: 61.64 kB / 0.6502 GB, free: 15.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001981/0.6082, allocations: 1.913 MB / 0.6521 GB, free: 13.26 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007594/0.609, allocations: 0.5733 MB / 0.6527 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009396/0.6099, allocations: 403.8 kB / 0.6531 GB, free: 12.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.6101, allocations: 305.1 kB / 0.6533 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.612, allocations: 0.8592 MB / 0.6542 GB, free: 11.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.6145, allocations: 1.575 MB / 0.6557 GB, free: 9.207 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004504/0.619, allocations: 2.593 MB / 0.6583 GB, free: 6.297 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.15e-05/0.619, allocations: 8 kB / 0.6583 GB, free: 6.289 MB / 462.1 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.006217/0.6252, allocations: 2.924 MB / 0.6611 GB, free: 3.348 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.6253, allocations: 20.03 kB / 0.6611 GB, free: 3.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.33e-05/0.6253, allocations: 20 kB / 0.6612 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/0.6258, allocations: 177.6 kB / 0.6613 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.6279, allocations: 0.5343 MB / 0.6618 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/0.6309, allocations: 2.324 MB / 0.6641 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.6333, allocations: 112 kB / 0.6642 GB, free: 48 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002691/0.6336, allocations: 104 kB / 0.6643 GB, free: 15.94 MB / 478.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.002812/0.6364, allocations: 1.197 MB / 0.6655 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007678/0.6372, allocations: 262.3 kB / 0.6657 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005275/0.6425, allocations: 2.369 MB / 0.6681 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.6425, allocations: 19.98 kB / 0.6681 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-05/0.6425, allocations: 4 kB / 0.6681 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.6425, allocations: 7.969 kB / 0.6681 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.655, allocations: 5.742 MB / 0.6737 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.655, allocations: 4 kB / 0.6737 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.6564, allocations: 279.6 kB / 0.674 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/0.6574, allocations: 359.8 kB / 0.6743 GB, free: 5.594 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.6575, allocations: 43.97 kB / 0.6743 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008506/0.6661, allocations: 7.066 MB / 0.6812 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.6661, allocations: 4.031 kB / 0.6812 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006983/0.673, allocations: 3.526 MB / 0.6847 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/0.6748, allocations: 450.1 kB / 0.6851 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000815/0.6756, allocations: 32 kB / 0.6852 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/0.6772, allocations: 83.92 kB / 0.6852 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00038/0.6776, allocations: 129 kB / 0.6854 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.6777, allocations: 47.98 kB / 0.6854 GB, free: 9.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003472/0.6812, allocations: 1.565 MB / 0.6869 GB, free: 8.262 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6812, allocations: 0 / 0.6869 GB, free: 8.262 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00321/0.6844, allocations: 0.6796 MB / 0.6876 GB, free: 7.582 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.007633/0.692, allocations: 4.155 MB / 0.6917 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004588/0.6966, allocations: 2.175 MB / 0.6938 GB, free: 1.188 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.6966, allocations: 4 kB / 0.6938 GB, free: 1.184 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2671/0.9637, allocations: 1.403 MB / 0.6951 GB, free: 121.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003955/0.9677, allocations: 0.6091 MB / 0.6957 GB, free: 121.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04184/1.009, allocations: 24.37 MB / 0.7195 GB, free: 110.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004932/1.014, allocations: 2.683 MB / 0.7222 GB, free: 109.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002522/1.017, allocations: 0.5516 MB / 0.7227 GB, free: 109.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002403/1.019, allocations: 1.489 MB / 0.7242 GB, free: 108.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.994e-06/1.019, allocations: 0 / 0.7242 GB, free: 108.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/1.143, allocations: 62.48 MB / 0.7852 GB, free: 55.45 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.47/17.61, allocations: 14.58 kB / 0.7852 GB, free: 55.44 MB / 494.1 MB " [Timeout remaining time 642] (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: 23.156554657034576] Failed to read output from testmodel.py, exit status != 0: 17.76062791608274 17.772104412 17.316372862 Calling exit ...