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.001298/0.001298, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.426/1.426, allocations: 230.6 MB / 253.5 MB, free: 14.28 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.001608/0.001608, allocations: 211.8 kB / 310 MB, free: 3.109 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.0402/0.0402, allocations: 8.918 MB / 375.4 MB, free: 6.578 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",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.002402/0.002402, allocations: 89.69 kB / 0.49 GB, free: 44.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08736/0.08976, allocations: 55.6 MB / 0.5443 GB, free: 4.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01795/0.1077, allocations: 14.43 MB / 0.5584 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.1191, allocations: 5.271 MB / 0.5635 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.1222, allocations: 123.3 kB / 0.5636 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.211/0.3332, allocations: 1.205 MB / 0.5648 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.3382, allocations: 1.548 MB / 0.5663 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.3407, allocations: 1.015 MB / 0.5673 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005564/0.3463, allocations: 4.638 MB / 0.5718 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002878/0.3492, allocations: 2.003 MB / 0.5738 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003329/0.3525, allocations: 2.119 MB / 0.5759 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004971/0.3575, allocations: 2.485 MB / 0.5783 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.3588, allocations: 0.5609 MB / 0.5788 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.361, allocations: 0.7851 MB / 0.5796 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.3622, allocations: 1.255 MB / 0.5808 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00287/0.3651, allocations: 1.893 MB / 0.5827 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008289/0.3734, allocations: 7.413 MB / 0.5899 GB, free: 3.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3734, allocations: 1 kB / 0.5899 GB, free: 3.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3734, allocations: 4 kB / 0.5899 GB, free: 3.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000197/0.3736, allocations: 3.984 kB / 0.5899 GB, free: 3.832 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.01329/0.3869, allocations: 4.89 MB / 0.5947 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3869, allocations: 13.98 kB / 0.5947 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001771/0.3871, allocations: 111.9 kB / 0.5948 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009073/0.388, allocations: 0.551 MB / 0.5954 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005338/0.3934, allocations: 0.945 MB / 0.5963 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006727/0.4001, allocations: 2.691 MB / 0.5989 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.4004, allocations: 277.3 kB / 0.5992 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/0.4015, allocations: 370.4 kB / 0.5995 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.4123, allocations: 4.842 MB / 0.6042 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.293e-05/0.4124, allocations: 17.31 kB / 0.6043 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004686/0.4129, allocations: 152.8 kB / 0.6044 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001788/0.4131, allocations: 151.5 kB / 0.6046 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007804/0.4209, allocations: 3.91 MB / 0.6084 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02705/0.4479, allocations: 13.83 MB / 0.6219 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004685/0.4526, allocations: 2.501 MB / 0.6243 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002344/0.455, allocations: 1.295 MB / 0.6256 GB, free: 7.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00754/0.4625, allocations: 3.378 MB / 0.6289 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.56e-05/0.4625, allocations: 59.75 kB / 0.6289 GB, free: 4.047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=135): time 3.626e-06/0.4626, allocations: 0 / 0.6289 GB, free: 4.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.01406/0.4766, allocations: 5.997 MB / 0.6348 GB, free: 14.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.4767, allocations: 68.72 kB / 0.6349 GB, free: 13.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/0.48, allocations: 2.01 MB / 0.6368 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.4802, allocations: 53.7 kB / 0.6369 GB, free: 11.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.4815, allocations: 1.721 MB / 0.6386 GB, free: 10.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005361/0.4821, allocations: 0.579 MB / 0.6391 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006113/0.4827, allocations: 387.8 kB / 0.6395 GB, free: 9.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4828, allocations: 301.1 kB / 0.6398 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.4841, allocations: 0.7538 MB / 0.6405 GB, free: 8.105 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.4859, allocations: 1.501 MB / 0.642 GB, free: 6.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003331/0.4893, allocations: 2.415 MB / 0.6443 GB, free: 3.531 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/0.4893, allocations: 7.938 kB / 0.6444 GB, free: 3.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.005152/0.4944, allocations: 2.807 MB / 0.6471 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.4945, allocations: 19.98 kB / 0.6471 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.681e-05/0.4945, allocations: 24 kB / 0.6471 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009908/0.4955, allocations: 337.6 kB / 0.6475 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.4972, allocations: 471.2 kB / 0.6479 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005661/0.5029, allocations: 4.896 MB / 0.6527 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.5049, allocations: 83.88 kB / 0.6528 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.5051, allocations: 103.9 kB / 0.6529 GB, free: 10.56 MB / 446.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 (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,15,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002255/0.5074, allocations: 1.08 MB / 0.6539 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005312/0.5079, allocations: 238.6 kB / 0.6541 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.512, allocations: 2.128 MB / 0.6562 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.512, allocations: 16 kB / 0.6562 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.512, allocations: 4 kB / 0.6562 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.512, allocations: 7.969 kB / 0.6563 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009317/0.5213, allocations: 4.962 MB / 0.6611 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.5213, allocations: 4 kB / 0.6611 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.5225, allocations: 255.7 kB / 0.6613 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009859/0.5235, allocations: 354.3 kB / 0.6617 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.5236, allocations: 43.92 kB / 0.6617 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007651/0.5312, allocations: 6.943 MB / 0.6685 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/0.5313, allocations: 7.969 kB / 0.6685 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005538/0.5368, allocations: 3.178 MB / 0.6716 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.5382, allocations: 414.4 kB / 0.672 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004382/0.5386, allocations: 32 kB / 0.672 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.5397, allocations: 59.97 kB / 0.6721 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/0.54, allocations: 125 kB / 0.6722 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.5402, allocations: 47.98 kB / 0.6723 GB, free: 6.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002494/0.5427, allocations: 1.351 MB / 0.6736 GB, free: 4.809 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5427, allocations: 0 / 0.6736 GB, free: 4.809 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003232/0.5459, allocations: 0.6367 MB / 0.6742 GB, free: 4.172 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 ($outputAlias_ie,smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.stray.Phi.re,smee.stator.stray.Phi.im) * 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 (129): * Single equations (assignments): 126 * 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 {(2,15,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006326/0.5522, allocations: 3.802 MB / 0.6779 GB, free: 308 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004548/0.5568, allocations: 2.182 MB / 0.68 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/0.5568, allocations: 8.25 kB / 0.6801 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002488/0.5593, allocations: 1.292 MB / 0.6813 GB, free: 12.76 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/0.5628, allocations: 0.6012 MB / 0.6819 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03646/0.5992, allocations: 22.02 MB / 0.7034 GB, free: 5.164 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/0.6014, allocations: 1.889 MB / 0.7053 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00157/0.603, allocations: 483.6 kB / 0.7057 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/0.6048, allocations: 1.331 MB / 0.707 GB, free: 1.43 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6048, allocations: 0 / 0.707 GB, free: 1.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/0.7244, allocations: 59.63 MB / 0.7653 GB, free: 6.375 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.39, allocations: 12 kB / 0.7653 GB, free: 6.363 MB / 0.545 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.147319955052808] Failed to read output from testmodel.py, exit status != 0: 16.58150188694708 16.772926832 16.396711895 Calling exit ...