Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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.001386/0.001386, allocations: 107.5 kB / 16.45 MB, free: 6.5 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.451/1.451, allocations: 230.6 MB / 249.8 MB, free: 9.223 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.001585/0.001585, allocations: 212.9 kB / 306 MB, free: 4.32 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.04181/0.04181, allocations: 8.908 MB / 371 MB, free: 3.457 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_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",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.002422/0.002422, allocations: 85.92 kB / 495.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1085, allocations: 55.58 MB / 0.5384 GB, free: 6.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.0225/0.131, allocations: 16.63 MB / 0.5547 GB, free: 5.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.1444, allocations: 5.59 MB / 0.5601 GB, free: 92 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003454/0.1478, allocations: 123.4 kB / 0.5603 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004262/0.1521, allocations: 1.266 MB / 0.5615 GB, free: 14.69 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.006145/0.1582, allocations: 1.561 MB / 0.563 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.1618, allocations: 1.044 MB / 0.564 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007742/0.1695, allocations: 4.637 MB / 0.5686 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004297/0.1738, allocations: 2.428 MB / 0.5709 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/0.1774, allocations: 2.122 MB / 0.573 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00417/0.1815, allocations: 2.475 MB / 0.5754 GB, free: 332 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.1829, allocations: 0.5625 MB / 0.576 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.1855, allocations: 0.7965 MB / 0.5768 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001963/0.1875, allocations: 1.25 MB / 0.578 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004432/0.1919, allocations: 2.381 MB / 0.5803 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.203, allocations: 7.373 MB / 0.5875 GB, free: 3.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.203, allocations: 3.938 kB / 0.5875 GB, free: 3.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.203, allocations: 0 / 0.5875 GB, free: 3.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002725/0.2033, allocations: 4 kB / 0.5875 GB, free: 3.914 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01632/0.2196, allocations: 4.957 MB / 0.5924 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.2197, allocations: 8.031 kB / 0.5924 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001655/0.2213, allocations: 0.5529 MB / 0.5929 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006019/0.2273, allocations: 0.939 MB / 0.5938 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007281/0.2346, allocations: 2.778 MB / 0.5965 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/0.235, allocations: 279.7 kB / 0.5968 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.2362, allocations: 371.9 kB / 0.5972 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.2482, allocations: 4.696 MB / 0.6017 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.124e-05/0.2483, allocations: 3.953 kB / 0.6017 GB, free: 5.148 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/0.2487, allocations: 148 kB / 0.6019 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001774/0.2489, allocations: 159.3 kB / 0.602 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008478/0.2574, allocations: 3.909 MB / 0.6059 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02854/0.2859, allocations: 15.48 MB / 0.621 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007787/0.2937, allocations: 6.289 MB / 0.6271 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003078/0.2968, allocations: 1.37 MB / 0.6285 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.3089, allocations: 4.939 MB / 0.6333 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/0.3089, allocations: 47.56 kB / 0.6333 GB, free: 3.172 MB / 446.1 MB Notification: Performance of pre-optimization done (n=125): time 4.789e-06/0.3089, allocations: 0 / 0.6333 GB, free: 3.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.02318/0.3321, allocations: 6.192 MB / 0.6394 GB, free: 12.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.689e-05/0.3322, allocations: 72.7 kB / 0.6394 GB, free: 12.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00586/0.3381, allocations: 2.094 MB / 0.6415 GB, free: 10.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003513/0.3384, allocations: 53.7 kB / 0.6415 GB, free: 10.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00233/0.3408, allocations: 1.751 MB / 0.6432 GB, free: 8.836 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001057/0.3418, allocations: 0.5656 MB / 0.6438 GB, free: 8.266 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.3429, allocations: 408.1 kB / 0.6442 GB, free: 7.859 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3431, allocations: 301.1 kB / 0.6445 GB, free: 7.562 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/0.3456, allocations: 0.7774 MB / 0.6452 GB, free: 6.781 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003678/0.3493, allocations: 1.551 MB / 0.6467 GB, free: 4.875 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2326/0.582, allocations: 4.907 MB / 0.6515 GB, free: 98.19 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.591e-05/0.582, allocations: 12.27 kB / 0.6515 GB, free: 98.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00544/0.5874, allocations: 2.879 MB / 0.6544 GB, free: 97.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.5875, allocations: 16.19 kB / 0.6544 GB, free: 97.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.19e-05/0.5875, allocations: 24.12 kB / 0.6544 GB, free: 97.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.5888, allocations: 362.3 kB / 0.6547 GB, free: 97.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/0.5912, allocations: 487.8 kB / 0.6552 GB, free: 97.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005084/0.5963, allocations: 4.084 MB / 0.6592 GB, free: 95.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.5983, allocations: 91.39 kB / 0.6593 GB, free: 95.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/0.5985, allocations: 104.1 kB / 0.6594 GB, free: 95.07 MB / 462.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (256): * Single equations (assignments): 254 * 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 {(4,23,68.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002092/0.6006, allocations: 1.095 MB / 0.6605 GB, free: 94.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005312/0.6011, allocations: 238.6 kB / 0.6607 GB, free: 94.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003495/0.6046, allocations: 1.976 MB / 0.6626 GB, free: 93.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.6046, allocations: 15.72 kB / 0.6626 GB, free: 93.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.6046, allocations: 3.969 kB / 0.6626 GB, free: 93.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/0.6046, allocations: 7.219 kB / 0.6626 GB, free: 93.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0094/0.614, allocations: 5.441 MB / 0.668 GB, free: 91.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.6141, allocations: 3.906 kB / 0.668 GB, free: 91.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.6151, allocations: 263.7 kB / 0.6682 GB, free: 91.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008116/0.616, allocations: 290.5 kB / 0.6685 GB, free: 90.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.6161, allocations: 47.38 kB / 0.6685 GB, free: 90.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00394/0.62, allocations: 3.843 MB / 0.6723 GB, free: 88.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.62, allocations: 3.969 kB / 0.6723 GB, free: 88.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004104/0.6241, allocations: 2.934 MB / 0.6752 GB, free: 86.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008723/0.625, allocations: 481.2 kB / 0.6756 GB, free: 86.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/0.6253, allocations: 42.03 kB / 0.6756 GB, free: 86.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009967/0.6263, allocations: 51.58 kB / 0.6757 GB, free: 86.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.6265, allocations: 108.4 kB / 0.6758 GB, free: 86.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.622e-05/0.6266, allocations: 48.38 kB / 0.6758 GB, free: 86.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001839/0.6284, allocations: 1.41 MB / 0.6772 GB, free: 85.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6284, allocations: 2.875 kB / 0.6772 GB, free: 85.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002287/0.6307, allocations: 0.6432 MB / 0.6779 GB, free: 85.88 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 (smee.phiMechanical,smee.is[2],smee.stator.core.Phi.re,smee.stator.core.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 (132): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,22,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004318/0.635, allocations: 3.551 MB / 0.6813 GB, free: 83.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003379/0.6384, allocations: 2.2 MB / 0.6835 GB, free: 82.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.6384, allocations: 0 / 0.6835 GB, free: 82.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.64, allocations: 1.024 MB / 0.6845 GB, free: 81.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.6427, allocations: 0.5821 MB / 0.685 GB, free: 80.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03279/0.6755, allocations: 22.15 MB / 0.7067 GB, free: 57.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/0.6772, allocations: 2.451 MB / 0.7091 GB, free: 55.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001586/0.6788, allocations: 0.492 MB / 0.7095 GB, free: 54.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/0.6804, allocations: 1.339 MB / 0.7109 GB, free: 53.43 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6804, allocations: 0 / 0.7109 GB, free: 53.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1311/0.8115, allocations: 57.23 MB / 0.7667 GB, free: 12.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/16.39, allocations: 12.64 kB / 0.7668 GB, free: 12.7 MB / 478.1 MB " [Timeout remaining time 643] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2_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_ShortCircuit2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.393754929988063] Failed to read output from testmodel.py, exit status != 0: 16.513506707007764 16.528692304 16.322232223 Calling exit ...