Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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.001304/0.001304, 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.419/1.419, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001474/0.001474, allocations: 209.5 kB / 309.2 MB, free: 3.121 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.0401/0.0401, allocations: 8.929 MB / 374.6 MB, free: 6.598 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_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",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.00243/0.00243, allocations: 81.75 kB / 0.4892 GB, free: 44.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08136/0.08379, allocations: 55.61 MB / 0.5435 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01804/0.1018, allocations: 14.43 MB / 0.5576 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.1123, allocations: 5.302 MB / 0.5628 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.1151, allocations: 123.3 kB / 0.5629 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2098/0.3249, allocations: 1.206 MB / 0.5641 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004738/0.3297, allocations: 1.54 MB / 0.5656 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.3319, allocations: 1.015 MB / 0.5666 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004911/0.3369, allocations: 4.639 MB / 0.5711 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002805/0.3397, allocations: 1.906 MB / 0.573 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/0.343, allocations: 2.12 MB / 0.575 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004227/0.3472, allocations: 2.316 MB / 0.5773 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00135/0.3485, allocations: 0.5575 MB / 0.5778 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.3511, allocations: 0.7739 MB / 0.5786 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.3523, allocations: 1.243 MB / 0.5798 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003221/0.3555, allocations: 1.888 MB / 0.5816 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008613/0.3641, allocations: 7.41 MB / 0.5889 GB, free: 4.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3641, allocations: 2 kB / 0.5889 GB, free: 4.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3641, allocations: 0 / 0.5889 GB, free: 4.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002255/0.3643, allocations: 1.5 kB / 0.5889 GB, free: 4.133 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01406/0.3784, allocations: 4.876 MB / 0.5936 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3784, allocations: 16.17 kB / 0.5937 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001133/0.3796, allocations: 0.5547 MB / 0.5942 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005082/0.3847, allocations: 0.9408 MB / 0.5951 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007231/0.3919, allocations: 2.686 MB / 0.5977 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.3922, allocations: 276.5 kB / 0.598 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000998/0.3932, allocations: 364 kB / 0.5984 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008975/0.4021, allocations: 4.852 MB / 0.6031 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.31e-05/0.4022, allocations: 2 kB / 0.6031 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003628/0.4026, allocations: 148.1 kB / 0.6032 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/0.4027, allocations: 162.7 kB / 0.6034 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006793/0.4095, allocations: 3.902 MB / 0.6072 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02447/0.434, allocations: 13.83 MB / 0.6207 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004544/0.4386, allocations: 2.507 MB / 0.6232 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/0.4408, allocations: 1.291 MB / 0.6244 GB, free: 7.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007244/0.4481, allocations: 3.369 MB / 0.6277 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.4481, allocations: 47.88 kB / 0.6277 GB, free: 4.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 3.186e-06/0.4481, allocations: 0 / 0.6277 GB, free: 4.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01082/0.4589, allocations: 4.749 MB / 0.6324 GB, free: 15.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.459, allocations: 65.94 kB / 0.6324 GB, free: 15.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/0.4629, allocations: 2.044 MB / 0.6344 GB, free: 13.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.463, allocations: 45.7 kB / 0.6345 GB, free: 13.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.4645, allocations: 1.727 MB / 0.6362 GB, free: 11.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005095/0.465, allocations: 0.4949 MB / 0.6367 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006288/0.4656, allocations: 363.4 kB / 0.637 GB, free: 10.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4658, allocations: 305.1 kB / 0.6373 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.4669, allocations: 0.6676 MB / 0.6379 GB, free: 10 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.4688, allocations: 1.412 MB / 0.6393 GB, free: 8.262 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003185/0.472, allocations: 2.185 MB / 0.6415 GB, free: 5.754 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.34e-05/0.472, allocations: 11.94 kB / 0.6415 GB, free: 5.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004575/0.4766, allocations: 2.409 MB / 0.6438 GB, free: 3.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.4767, allocations: 16 kB / 0.6438 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.346e-05/0.4767, allocations: 24 kB / 0.6439 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004203/0.4771, allocations: 154.2 kB / 0.644 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.4788, allocations: 459.3 kB / 0.6444 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.4812, allocations: 2.005 MB / 0.6464 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.4832, allocations: 83.89 kB / 0.6465 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.4834, allocations: 91.98 kB / 0.6466 GB, free: 400 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (242): * Single equations (assignments): 240 * 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.002475/0.4859, allocations: 1.072 MB / 0.6476 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006098/0.4865, allocations: 222.6 kB / 0.6478 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/0.4904, allocations: 1.851 MB / 0.6496 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.4904, allocations: 12 kB / 0.6496 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/0.4904, allocations: 4 kB / 0.6497 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.4904, allocations: 7.969 kB / 0.6497 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.5005, allocations: 4.468 MB / 0.654 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.5005, allocations: 8.188 kB / 0.654 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008927/0.5014, allocations: 216 kB / 0.6542 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008754/0.5023, allocations: 327 kB / 0.6545 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.5024, allocations: 39.92 kB / 0.6546 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007828/0.5102, allocations: 6.699 MB / 0.6611 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.5102, allocations: 8.031 kB / 0.6611 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00494/0.5152, allocations: 2.746 MB / 0.6638 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/0.5165, allocations: 370.5 kB / 0.6642 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006142/0.5172, allocations: 36 kB / 0.6642 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.5185, allocations: 55.95 kB / 0.6643 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/0.5187, allocations: 117 kB / 0.6644 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.75e-05/0.5188, allocations: 36 kB / 0.6644 GB, free: 13.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002704/0.5215, allocations: 1.351 MB / 0.6657 GB, free: 12.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5215, allocations: 0 / 0.6657 GB, free: 12.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002814/0.5243, allocations: 0.6054 MB / 0.6663 GB, free: 11.67 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,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) * 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 (106): * Single equations (assignments): 103 * 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.005373/0.5297, allocations: 3.354 MB / 0.6696 GB, free: 8.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003252/0.533, allocations: 1.741 MB / 0.6713 GB, free: 6.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.533, allocations: 0 / 0.6713 GB, free: 6.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.5349, allocations: 1.172 MB / 0.6724 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/0.5382, allocations: 0.59 MB / 0.673 GB, free: 4.707 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03867/0.5769, allocations: 20.82 MB / 0.6933 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00287/0.5797, allocations: 1.858 MB / 0.6952 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001681/0.5814, allocations: 470.8 kB / 0.6956 GB, free: 12.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001991/0.5834, allocations: 1.3 MB / 0.6969 GB, free: 11.35 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5834, allocations: 4 kB / 0.6969 GB, free: 11.35 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/0.7035, allocations: 56.58 MB / 0.7521 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.97, allocations: 3.938 kB / 0.7521 GB, free: 3.316 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3_res.csv --start-time 0 --stop-time 0.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.8426326001063] Failed to read output from testmodel.py, exit status != 0: 14.119259560015053 14.145548416 13.777143659 Calling exit ...