Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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.001163/0.001163, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8859/0.8859, allocations: 177.1 MB / 199.4 MB, free: 5.941 MB / 186.7 MB " [Timeout remaining time 179] 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.001291/0.001291, allocations: 160.6 kB / 256 MB, free: 13.34 MB / 250.7 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.02315/0.02315, allocations: 6.654 MB / 319 MB, free: 12 MB / 298.7 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_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 445.4 MB, free: 109.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.323e-05, allocations: 8.516 kB / 445.4 MB, free: 109.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.01556/0.01558, allocations: 22 MB / 467.4 MB, free: 95.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.016/0.03158, allocations: 7.783 MB / 475.2 MB, free: 90.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004169/0.03575, allocations: 201 kB / 475.4 MB, free: 89.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006187/0.04194, allocations: 6.036 MB / 481.5 MB, free: 85.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004846/0.04678, allocations: 2.831 MB / 484.3 MB, free: 83.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.04876, allocations: 1.607 MB / 485.9 MB, free: 82.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003866/0.05263, allocations: 7.635 MB / 493.5 MB, free: 74.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006222/0.05885, allocations: 9.021 MB / 0.4908 GB, free: 65.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00501/0.06386, allocations: 5.659 MB / 0.4963 GB, free: 60 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.06628, allocations: 3.609 MB / 0.4998 GB, free: 56.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006645/0.06695, allocations: 1.07 MB / 0.5009 GB, free: 55.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.06838, allocations: 1.462 MB / 0.5023 GB, free: 53.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007229/0.06911, allocations: 2.182 MB / 0.5044 GB, free: 51.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.07051, allocations: 2.768 MB / 0.5071 GB, free: 48.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005948/0.07646, allocations: 14.7 MB / 0.5215 GB, free: 34.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.07646, allocations: 0 / 0.5215 GB, free: 34.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.07646, allocations: 0 / 0.5215 GB, free: 34.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.158e-05/0.07654, allocations: 0 / 0.5215 GB, free: 34.14 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.01015/0.08669, allocations: 8.81 MB / 0.5301 GB, free: 25.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.08673, allocations: 12.03 kB / 0.5301 GB, free: 25.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009181/0.08765, allocations: 1.052 MB / 0.5311 GB, free: 24.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.09883, allocations: 4.421 MB / 0.5355 GB, free: 19.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006782/0.1056, allocations: 4.629 MB / 0.54 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.1058, allocations: 481.1 kB / 0.5404 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009853/0.1068, allocations: 0.6288 MB / 0.541 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.1176, allocations: 10.49 MB / 0.5513 GB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.539e-05/0.1177, allocations: 11.89 kB / 0.5513 GB, free: 3.367 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004414/0.1182, allocations: 268 kB / 0.5516 GB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002047/0.1184, allocations: 425.7 kB / 0.552 GB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.1289, allocations: 9.849 MB / 0.5616 GB, free: 8.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0308/0.1597, allocations: 30.8 MB / 0.5917 GB, free: 9.219 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007527/0.1672, allocations: 6.701 MB / 0.5982 GB, free: 3.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/0.1693, allocations: 2.109 MB / 0.6003 GB, free: 1.117 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.1695, allocations: 78.25 kB / 0.6003 GB, free: 1.039 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.1695, allocations: 68.89 kB / 0.6004 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of pre-optimization done (n=295): time 5.189e-06/0.1695, allocations: 0 / 0.6004 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of matching and sorting (n=301): time 0.1805/0.35, allocations: 10.81 MB / 0.611 GB, free: 103.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3501, allocations: 92.72 kB / 0.611 GB, free: 103.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003193/0.3533, allocations: 3.129 MB / 0.6141 GB, free: 102.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.3534, allocations: 74.61 kB / 0.6142 GB, free: 102.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009599/0.3544, allocations: 2.963 MB / 0.6171 GB, free: 101.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000376/0.3547, allocations: 1.069 MB / 0.6181 GB, free: 100.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008778/0.3556, allocations: 0.911 MB / 0.619 GB, free: 100.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.14e-05/0.3557, allocations: 304.7 kB / 0.6193 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.3578, allocations: 2.025 MB / 0.6213 GB, free: 100.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002692/0.3605, allocations: 3.759 MB / 0.6249 GB, free: 97.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005059/0.3655, allocations: 6.061 MB / 0.6309 GB, free: 93.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-05/0.3656, allocations: 16.47 kB / 0.6309 GB, free: 93.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.006309/0.3719, allocations: 6.639 MB / 0.6374 GB, free: 91.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.3719, allocations: 32.09 kB / 0.6374 GB, free: 91.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.291e-05/0.3719, allocations: 57.44 kB / 0.6374 GB, free: 91.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.373, allocations: 0.6715 MB / 0.6381 GB, free: 91.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.3748, allocations: 1.072 MB / 0.6391 GB, free: 90.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004798/0.3796, allocations: 6.016 MB / 0.645 GB, free: 85.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.3813, allocations: 281.9 kB / 0.6453 GB, free: 85.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.3815, allocations: 231 kB / 0.6455 GB, free: 84.97 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 559 * 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 {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00217/0.3836, allocations: 2.322 MB / 0.6478 GB, free: 83.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.3839, allocations: 333.9 kB / 0.6481 GB, free: 82.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/0.3881, allocations: 4.608 MB / 0.6526 GB, free: 78.83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.3881, allocations: 36 kB / 0.6526 GB, free: 78.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3881, allocations: 9.5 kB / 0.6526 GB, free: 78.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.3881, allocations: 15.09 kB / 0.6526 GB, free: 78.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009094/0.3972, allocations: 10.57 MB / 0.663 GB, free: 68.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.3972, allocations: 12.03 kB / 0.663 GB, free: 68.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009808/0.3982, allocations: 0.5319 MB / 0.6635 GB, free: 68.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007694/0.3989, allocations: 0.5637 MB / 0.6641 GB, free: 67.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.746e-05/0.399, allocations: 70.28 kB / 0.6641 GB, free: 67.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003629/0.4027, allocations: 5.271 MB / 0.6693 GB, free: 62.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4027, allocations: 6.344 kB / 0.6693 GB, free: 62.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004945/0.4076, allocations: 6.59 MB / 0.6757 GB, free: 55.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008085/0.4084, allocations: 0.6616 MB / 0.6764 GB, free: 55.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.4087, allocations: 56 kB / 0.6764 GB, free: 55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007684/0.4094, allocations: 151.6 kB / 0.6766 GB, free: 54.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.4096, allocations: 225.1 kB / 0.6768 GB, free: 54.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.482e-05/0.4097, allocations: 87.98 kB / 0.6769 GB, free: 54.55 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001503/0.4112, allocations: 2.017 MB / 0.6788 GB, free: 52.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4112, allocations: 0 / 0.6788 GB, free: 52.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002369/0.4136, allocations: 1.183 MB / 0.68 GB, free: 51.36 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * 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 {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005219/0.4188, allocations: 7.267 MB / 0.6871 GB, free: 43.97 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004037/0.4228, allocations: 4.835 MB / 0.6918 GB, free: 39.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4228, allocations: 0 / 0.6918 GB, free: 39.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.4246, allocations: 2.111 MB / 0.6939 GB, free: 37.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.4261, allocations: 0.6467 MB / 0.6945 GB, free: 36.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03638/0.4625, allocations: 39.06 MB / 0.7326 GB, free: 11.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002713/0.4652, allocations: 3.66 MB / 0.7362 GB, free: 8.082 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002154/0.4674, allocations: 1.328 MB / 0.7375 GB, free: 6.754 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/0.4694, allocations: 2.262 MB / 0.7397 GB, free: 4.492 MB / 474.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4694, allocations: 3.938 kB / 0.7397 GB, free: 4.488 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2632/0.7326, allocations: 91.44 MB / 0.829 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.8, allocations: 2.578 kB / 0.829 GB, free: 140.8 MB / 0.5105 GB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.90034141484648] Failed to read output from testmodel.py, exit status != 0: 10.918317956849933 10.924713884 10.846866342 Calling exit ...