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.001354/0.001354, 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.462/1.462, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.001635/0.001635, allocations: 212.6 kB / 309.2 MB, free: 3.141 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.04219/0.04219, allocations: 8.923 MB / 374.6 MB, free: 1.887 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.002557/0.002557, allocations: 91.86 kB / 0.4892 GB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2818, allocations: 55.59 MB / 0.5435 GB, free: 26.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01405/0.2958, allocations: 17.49 MB / 0.5606 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009659/0.3055, allocations: 5.763 MB / 0.5662 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.3085, allocations: 127.3 kB / 0.5664 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003784/0.3123, allocations: 1.321 MB / 0.5676 GB, free: 9.297 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.005575/0.3179, allocations: 1.657 MB / 0.5693 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003165/0.321, allocations: 1.12 MB / 0.5704 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007085/0.3281, allocations: 5.063 MB / 0.5753 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005548/0.3337, allocations: 2.307 MB / 0.5776 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004889/0.3385, allocations: 2.344 MB / 0.5798 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005551/0.3441, allocations: 2.817 MB / 0.5826 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002191/0.3463, allocations: 0.6202 MB / 0.5832 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003541/0.3498, allocations: 0.8691 MB / 0.584 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002743/0.3526, allocations: 1.444 MB / 0.5855 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007628/0.3602, allocations: 2.658 MB / 0.5881 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01582/0.376, allocations: 8.197 MB / 0.5961 GB, free: 7.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.376, allocations: 4 kB / 0.5961 GB, free: 7.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.376, allocations: 3.938 kB / 0.5961 GB, free: 7.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002563/0.3763, allocations: 4 kB / 0.5961 GB, free: 7.156 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.0181/0.3944, allocations: 5.47 MB / 0.6014 GB, free: 1.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.3944, allocations: 12.03 kB / 0.6014 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001656/0.3961, allocations: 0.5519 MB / 0.602 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00577/0.4019, allocations: 1.028 MB / 0.603 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007942/0.4098, allocations: 3.007 MB / 0.6059 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003509/0.4102, allocations: 300.5 kB / 0.6062 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/0.4119, allocations: 411.9 kB / 0.6066 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/0.4237, allocations: 5.225 MB / 0.6117 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-05/0.4238, allocations: 7.891 kB / 0.6117 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004214/0.4242, allocations: 164 kB / 0.6118 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000184/0.4244, allocations: 176 kB / 0.612 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.4352, allocations: 4.466 MB / 0.6164 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0314/0.4666, allocations: 16.37 MB / 0.6324 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006035/0.4727, allocations: 3.264 MB / 0.6355 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004263/0.4769, allocations: 1.986 MB / 0.6375 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009829/0.4868, allocations: 4.623 MB / 0.642 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.4868, allocations: 47.88 kB / 0.642 GB, free: 7.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=158): time 4.017e-06/0.4868, allocations: 4 kB / 0.6421 GB, free: 7.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=161): time 0.01359/0.5004, allocations: 5.938 MB / 0.6479 GB, free: 1.562 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.5005, allocations: 68.72 kB / 0.6479 GB, free: 1.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004352/0.5048, allocations: 2.315 MB / 0.6502 GB, free: 15.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004028/0.5052, allocations: 57.7 kB / 0.6502 GB, free: 15.08 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001777/0.507, allocations: 1.917 MB / 0.6521 GB, free: 13.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007548/0.5078, allocations: 0.5771 MB / 0.6527 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006787/0.5084, allocations: 403.8 kB / 0.6531 GB, free: 12.15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5086, allocations: 301.1 kB / 0.6533 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.5102, allocations: 0.8631 MB / 0.6542 GB, free: 10.99 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.5125, allocations: 1.582 MB / 0.6557 GB, free: 9.074 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003861/0.5163, allocations: 2.59 MB / 0.6583 GB, free: 6.168 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-05/0.5164, allocations: 8 kB / 0.6583 GB, free: 6.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.00541/0.5218, allocations: 2.919 MB / 0.6611 GB, free: 3.223 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.5218, allocations: 16 kB / 0.6611 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.5218, allocations: 20 kB / 0.6612 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004873/0.5223, allocations: 182.1 kB / 0.6613 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/0.5244, allocations: 0.5343 MB / 0.6618 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.5272, allocations: 2.32 MB / 0.6641 GB, free: 36 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.5293, allocations: 107.9 kB / 0.6642 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.5295, allocations: 99.98 kB / 0.6643 GB, free: 15.83 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.002509/0.532, allocations: 1.2 MB / 0.6655 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005549/0.5326, allocations: 262.3 kB / 0.6657 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004675/0.5373, allocations: 2.373 MB / 0.668 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.5373, allocations: 16 kB / 0.6681 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.5373, allocations: 7.984 kB / 0.6681 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.5373, allocations: 3.984 kB / 0.6681 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.5483, allocations: 5.742 MB / 0.6737 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.5483, allocations: 4 kB / 0.6737 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.5496, allocations: 279.8 kB / 0.674 GB, free: 5.836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009613/0.5505, allocations: 358.3 kB / 0.6743 GB, free: 5.477 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.5507, allocations: 47.91 kB / 0.6743 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007841/0.5585, allocations: 7.078 MB / 0.6813 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5585, allocations: 0 / 0.6813 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006503/0.565, allocations: 3.522 MB / 0.6847 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/0.5667, allocations: 450.5 kB / 0.6851 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003697/0.567, allocations: 36 kB / 0.6852 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.5682, allocations: 79.92 kB / 0.6852 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003044/0.5685, allocations: 121.1 kB / 0.6853 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.5686, allocations: 55.92 kB / 0.6854 GB, free: 9.715 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002629/0.5712, allocations: 1.569 MB / 0.6869 GB, free: 8.133 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5712, allocations: 0 / 0.6869 GB, free: 8.133 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002561/0.5738, allocations: 0.6796 MB / 0.6876 GB, free: 7.453 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.006568/0.5803, allocations: 4.147 MB / 0.6916 GB, free: 3.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004413/0.5847, allocations: 2.179 MB / 0.6938 GB, free: 1.062 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.5848, allocations: 4.25 kB / 0.6938 GB, free: 1.059 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2312/0.8159, allocations: 1.401 MB / 0.6951 GB, free: 121.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/0.819, allocations: 0.6081 MB / 0.6957 GB, free: 121.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03892/0.858, allocations: 24.37 MB / 0.7195 GB, free: 110.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003402/0.8614, allocations: 2.676 MB / 0.7222 GB, free: 109.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002218/0.8636, allocations: 0.5591 MB / 0.7227 GB, free: 109.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002173/0.8658, allocations: 1.491 MB / 0.7242 GB, free: 108.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.303e-06/0.8658, allocations: 0 / 0.7242 GB, free: 108.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/0.9823, allocations: 62.48 MB / 0.7852 GB, free: 55.19 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.35/18.33, allocations: 8.047 kB / 0.7852 GB, free: 55.18 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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.986788132002403] Failed to read output from testmodel.py, exit status != 0: 18.48343387999921 18.510662649 18.129444614 Calling exit ...