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.001355/0.001355, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.43/1.43, allocations: 230.6 MB / 253.5 MB, free: 14.29 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.001592/0.001592, allocations: 210.9 kB / 310 MB, free: 3.07 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.0408/0.0408, allocations: 8.92 MB / 375.4 MB, free: 6.59 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_DOL,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL",fmuType="cs",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.002409/0.002409, allocations: 83.88 kB / 0.4899 GB, free: 44.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08976/0.09217, allocations: 55.61 MB / 0.5442 GB, free: 5.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01869/0.1109, allocations: 15.09 MB / 0.559 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.1219, allocations: 5.427 MB / 0.5643 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00307/0.125, allocations: 127.2 kB / 0.5644 GB, free: 328 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.209/0.334, allocations: 1.26 MB / 0.5656 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004988/0.339, allocations: 1.63 MB / 0.5672 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.3415, allocations: 1.078 MB / 0.5682 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005575/0.347, allocations: 5.071 MB / 0.5732 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003536/0.3506, allocations: 2.31 MB / 0.5755 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004116/0.3547, allocations: 2.344 MB / 0.5777 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004965/0.3596, allocations: 2.82 MB / 0.5805 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.361, allocations: 0.6207 MB / 0.5811 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.3637, allocations: 0.8521 MB / 0.5819 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001744/0.3654, allocations: 1.447 MB / 0.5834 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005074/0.3705, allocations: 2.116 MB / 0.5854 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00987/0.3804, allocations: 8.233 MB / 0.5935 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3804, allocations: 0 / 0.5935 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3804, allocations: 1.875 kB / 0.5935 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002891/0.3807, allocations: 0.75 kB / 0.5935 GB, free: 0.9023 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.01832/0.399, allocations: 5.48 MB / 0.5988 GB, free: 13.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.399, allocations: 13.36 kB / 0.5988 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001588/0.3992, allocations: 107.5 kB / 0.5989 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001534/0.4007, allocations: 0.5533 MB / 0.5995 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006367/0.4071, allocations: 1.031 MB / 0.6005 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007308/0.4144, allocations: 3.005 MB / 0.6034 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/0.4147, allocations: 306.6 kB / 0.6037 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/0.416, allocations: 404.3 kB / 0.6041 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01355/0.4295, allocations: 5.375 MB / 0.6093 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.67e-05/0.4296, allocations: 11.94 kB / 0.6093 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005075/0.4301, allocations: 169.3 kB / 0.6095 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001515/0.4303, allocations: 169.2 kB / 0.6097 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009451/0.4397, allocations: 4.471 MB / 0.614 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03572/0.4754, allocations: 14.95 MB / 0.6286 GB, free: 3.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006688/0.4821, allocations: 3.242 MB / 0.6318 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004272/0.4864, allocations: 1.989 MB / 0.6337 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.4967, allocations: 4.213 MB / 0.6379 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/0.4968, allocations: 51.88 kB / 0.6379 GB, free: 10.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=158): time 3.808e-06/0.4968, allocations: 0 / 0.6379 GB, free: 10.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=161): time 0.01443/0.5112, allocations: 5.927 MB / 0.6437 GB, free: 4.395 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.5113, allocations: 76.66 kB / 0.6438 GB, free: 4.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005552/0.5168, allocations: 2.312 MB / 0.646 GB, free: 1.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003546/0.5172, allocations: 61.69 kB / 0.6461 GB, free: 1.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001797/0.519, allocations: 1.908 MB / 0.6479 GB, free: 15.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007582/0.5197, allocations: 0.5823 MB / 0.6485 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/0.5208, allocations: 399.9 kB / 0.6489 GB, free: 15.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5209, allocations: 305.1 kB / 0.6492 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.5226, allocations: 0.8592 MB / 0.65 GB, free: 13.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/0.525, allocations: 1.601 MB / 0.6516 GB, free: 11.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004189/0.5292, allocations: 2.589 MB / 0.6541 GB, free: 9.012 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-05/0.5292, allocations: 7.984 kB / 0.6541 GB, free: 9.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.005943/0.5352, allocations: 2.919 MB / 0.657 GB, free: 6.066 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.5352, allocations: 19.94 kB / 0.657 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.174e-05/0.5353, allocations: 20.53 kB / 0.657 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.5358, allocations: 178.9 kB / 0.6572 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.5379, allocations: 0.5343 MB / 0.6577 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.5409, allocations: 2.303 MB / 0.66 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/0.5439, allocations: 115.9 kB / 0.6601 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004618/0.5444, allocations: 99.98 kB / 0.6602 GB, free: 2.691 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.003004/0.5474, allocations: 1.196 MB / 0.6613 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009117/0.5483, allocations: 262.3 kB / 0.6616 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005695/0.554, allocations: 2.373 MB / 0.6639 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.554, allocations: 16 kB / 0.6639 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.554, allocations: 4 kB / 0.6639 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-05/0.554, allocations: 11.97 kB / 0.6639 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.5677, allocations: 5.405 MB / 0.6692 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.5677, allocations: 4 kB / 0.6692 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/0.5691, allocations: 283.6 kB / 0.6695 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.5701, allocations: 359.4 kB / 0.6698 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/0.5704, allocations: 43.97 kB / 0.6699 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008639/0.579, allocations: 6.994 MB / 0.6767 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.579, allocations: 4.031 kB / 0.6767 GB, free: 1.332 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007378/0.5864, allocations: 3.513 MB / 0.6801 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/0.588, allocations: 454.1 kB / 0.6806 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009476/0.589, allocations: 39.94 kB / 0.6806 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/0.5909, allocations: 83.92 kB / 0.6807 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004189/0.5913, allocations: 129 kB / 0.6808 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/0.5915, allocations: 47.92 kB / 0.6809 GB, free: 13.03 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003706/0.5952, allocations: 1.569 MB / 0.6824 GB, free: 11.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5952, allocations: 0 / 0.6824 GB, free: 11.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003816/0.599, allocations: 0.6839 MB / 0.6831 GB, free: 10.76 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.008141/0.6071, allocations: 4.151 MB / 0.6871 GB, free: 6.559 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004855/0.612, allocations: 2.171 MB / 0.6892 GB, free: 4.379 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.612, allocations: 0 / 0.6892 GB, free: 4.379 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002808/0.6148, allocations: 1.423 MB / 0.6906 GB, free: 2.918 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/0.6194, allocations: 0.6079 MB / 0.6912 GB, free: 2.316 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05671/0.6761, allocations: 24.34 MB / 0.715 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00477/0.6809, allocations: 2.143 MB / 0.7171 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002554/0.6834, allocations: 0.5515 MB / 0.7176 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00293/0.6864, allocations: 1.495 MB / 0.7191 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of SimCode: time 1.262e-06/0.6864, allocations: 3.938 kB / 0.7191 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3331/1.019, allocations: 63.9 MB / 0.7815 GB, free: 180.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.04/17.06, allocations: 7.031 kB / 0.7815 GB, free: 180.7 MB / 0.545 GB " [Timeout remaining time 643] (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: 24.31951691408176] Failed to read output from testmodel.py, exit status != 0: 17.264404153916985 17.285487131 16.901007398 Calling exit ...